Skip to content

Commit

Permalink
Correct Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
luz-ojeda committed Apr 10, 2024
1 parent 5692259 commit 607f01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN pnpm install --frozen-lockfile --prod=false
# Copy application code
COPY --link . .

RUN --mount=type=secret,id=API_URL --mount=type=secret,id=API_KEY, --mount=type=secret,id=ADMIN_LOGIN API_URL="$(cat /run/secrets/API_URL)" API_KEY="$(cat /run/secrets/API_KEY)" ADMIN_LOGIN="$(cat /run/secrets/ADMIN_LOGIN)"
RUN --mount=type=secret,id=API_URL --mount=type=secret,id=API_KEY --mount=type=secret,id=ADMIN_LOGIN API_URL="$(cat /run/secrets/API_URL)" API_KEY="$(cat /run/secrets/API_KEY)" ADMIN_LOGIN="$(cat /run/secrets/ADMIN_LOGIN)"

# Build application
RUN pnpm run build
Expand Down

0 comments on commit 607f01e

Please sign in to comment.