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.
This commit is contained in:
salty
2020-12-15 02:57:01 +01:00
committed by GitHub
parent 2d3359a7e3
commit 34136ef617

View File

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