Skip to content

Instantly share code, notes, and snippets.

@William-Yeh
Created June 21, 2019 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save William-Yeh/2d74560fa9de909d6fe840ccf10959fa to your computer and use it in GitHub Desktop.
Save William-Yeh/2d74560fa9de909d6fe840ccf10959fa to your computer and use it in GitHub Desktop.
Modify the "TodoFrontend/Dockerfile" file in Lab 5.0 ~ 7.0
#
# 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