Created
June 21, 2019 04:46
-
-
Save William-Yeh/2d74560fa9de909d6fe840ccf10959fa to your computer and use it in GitHub Desktop.
Modify the "TodoFrontend/Dockerfile" file in Lab 5.0 ~ 7.0
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
# | |
# http static server one-liners | |
# | |
FROM busybox:1.30 | |
WORKDIR /app | |
COPY . . | |
RUN chmod +x run.sh | |
# Configurable host:port - location of backend todoapi server | |
ENV TODOAPI_HOST localhost | |
ENV TODOAPI_PORT 30080 | |
EXPOSE 80 | |
CMD ["sh", "run.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment