build(dockerfile): Expose port 3000. (#278)

Allows for automated nginx reverse proxy setups to identify the port used in the container without having to bind the port to the host/localhost.
pull/286/head
salty 4 years ago committed by GitHub
parent 2d3359a7e3
commit 34136ef617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,3 +21,5 @@ COPY --from=BUILD_IMAGE /app/.next ./.next
COPY --from=BUILD_IMAGE /app/node_modules ./node_modules COPY --from=BUILD_IMAGE /app/node_modules ./node_modules
CMD yarn start CMD yarn start
EXPOSE 3000

Loading…
Cancel
Save