-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
1cb2b89
commit cd89252
Showing
3 changed files
with
33 additions
and
30 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,12 +1,12 @@ | ||
FROM python:3.8.16-bullseye | ||
FROM python:3.8 | ||
|
||
RUN mkdir /code | ||
COPY . /code/ | ||
WORKDIR /code/ | ||
RUN pip install -r /code/requirements.txt | ||
RUN apt-get -qq -y update && apt-get -qq -y upgrade | ||
RUN apt-get install -y chromium netcat-traditional | ||
|
||
# This CMD never actually used; currently Docker Compose replaces it. | ||
# Should be command for production web server later. | ||
CMD sh -c ' ls' | ||
COPY requirements_dev.txt /grantnav/ | ||
WORKDIR /grantnav/ | ||
RUN pip install -r requirements_dev.txt | ||
|
||
EXPOSE 8000 | ||
|
||
CMD ["/bin/bash"] |
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
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