Skip to content

Commit 5937af7

Browse files
committed
Update Dockerfile
1 parent a3459ae commit 5937af7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
####################################################################################################
44
FROM --platform=$TARGETPLATFORM node:lts-alpine AS office2pdf
55

6-
ENV PORT=3000
7-
ENV NODE_ENV=production
6+
ARG PORT=3000
7+
ARG NODE_ENV=production
8+
9+
ENV PORT=$PORT
10+
ENV NODE_ENV=$NODE_ENV
811
WORKDIR /app
912

1013
# https://github.com/woahbase/alpine-libreoffice/blob/master/Dockerfile_x86_64

0 commit comments

Comments
 (0)