Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
solita-nhuttu committed Feb 8, 2024
1 parent 8c7c3e7 commit 97d41e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ COPY . .

RUN --mount=type=secret,id=NEXT_PUBLIC_TESTATAAN \
--mount=type=secret,id=AZURE_CONNECTION_STRING \
--mount=type=secret,id=NEXT_PUBLIC_HEY \
export NEXT_PUBLIC_TESTATAAN=$(cat /run/secrets/NEXT_PUBLIC_TESTATAAN) && \
export NEXT_PUBLIC_HEY=$(cat /run/secrets/NEXT_PUBLIC_HEY) && \
export AZURE_CONNECTION_STRING=$(cat /run/secrets/AZURE_CONNECTION_STRING) && \
npm run build

Expand Down
1 change: 1 addition & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default function Page() {
<button className="flex justify-normal" type="submit">
Submit
</button>
{d.toISOString()}
<div>{process.env.NEXT_PUBLIC_TESTATAAN ?? "Ei olla azuressa"}</div>
</form>
</div>
Expand Down

0 comments on commit 97d41e8

Please sign in to comment.