Skip to content

Commit

Permalink
Merge pull request #235 from Forceu/Forceu-patch-1
Browse files Browse the repository at this point in the history
Make ARGs compliant with Docker specs
  • Loading branch information
Ravinou authored Jun 16, 2024
2 parents 7dbe181 + 81ed817 commit f8b6c46
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:20-bookworm-slim as base

ARG UID=1001
ARG GID=1001

FROM node:20-bookworm-slim as base

# build stage
FROM base AS deps

Expand All @@ -27,6 +27,9 @@ RUN npm run build
# run stage
FROM base AS runner

ARG UID
ARG GID

ENV NODE_ENV production

RUN echo 'deb http://deb.debian.org/debian bookworm-backports main' >> /etc/apt/sources.list
Expand All @@ -53,4 +56,4 @@ USER borgwarehouse

EXPOSE 3000 22

ENTRYPOINT ["./docker-bw-init.sh"]
ENTRYPOINT ["./docker-bw-init.sh"]

0 comments on commit f8b6c46

Please sign in to comment.