Skip to content

Commit

Permalink
Add docker build args
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Sep 29, 2022
1 parent 99382f8 commit 18bc169
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

FROM node:18-alpine

ARG ENV
ARG NODE_ENV
ARG DOMAIN
ARG TRANSPORT
ARG REGISTRATION=0

LABEL maintainer="HifiWifi LLC"

# Set the working directory
Expand All @@ -27,6 +33,6 @@ RUN addgroup -S nodegroup && \
USER nodeuser

# Open the mapped port
EXPOSE 3000
EXPOSE 8080

CMD [ "./node_modules/.bin/fastify", "start", "app.js" ]

0 comments on commit 18bc169

Please sign in to comment.