Skip to content

Commit

Permalink
dont pretend the ENV is in the build runtime, because it is not (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaqx authored Mar 30, 2019
1 parent ff11861 commit fcc5f7b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,5 @@ USER serve

VOLUME ["/var/www"]

ARG PORT=8080
ENV PORT $PORT

CMD ["serve", "-dir", "/var/www"]

EXPOSE $PORT
EXPOSE 8080

0 comments on commit fcc5f7b

Please sign in to comment.