Last active
March 3, 2023 17:23
-
-
Save zs-dima/193dde9bba094bcf2189867ffd63424d to your computer and use it in GitHub Desktop.
Check application version Dockerfile; final image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nginx:alpine as production | |
COPY --from=build_dart /runtime/ / | |
COPY --from=build_dart /app/tool/prepare-app-to-start /app/bin/ | |
COPY --from=build_dart --chmod=0755 /app/tool/entrypoint.sh /app/bin/ | |
COPY --from=build_web /home/build/web /usr/share/nginx/html | |
EXPOSE 80/tcp | |
ENTRYPOINT ["/app/bin/entrypoint.sh"] | |
CMD ["nginx", "-g", "daemon off;"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment