Skip to content

Commit fcc5f7b

Browse files
authored
dont pretend the ENV is in the build runtime, because it is not (#13)
1 parent ff11861 commit fcc5f7b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,5 @@ USER serve
2828

2929
VOLUME ["/var/www"]
3030

31-
ARG PORT=8080
32-
ENV PORT $PORT
33-
3431
CMD ["serve", "-dir", "/var/www"]
35-
36-
EXPOSE $PORT
32+
EXPOSE 8080

0 commit comments

Comments
 (0)