-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# official Python image as the base image | ||
FROM python:3.8-slim | ||
|
||
# referencing docker compose (find wiki) # | ||
ENV port ${port} | ||
ENV port ${host} | ||
# referencing docker compose (see wiki) # | ||
ENV PORT ${port} | ||
ENV HOST ${host} | ||
|
||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
RUN pip install -r requirements.txt | ||
EXPOSE ${PORT} | ||
|
||
EXPOSE ${port} | ||
|
||
# run dash application | ||
CMD ["python3", "app.py"] | ||
CMD ["python", "app.py"] |
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