generated from CMU-17313Q/NodeBB-f23
-
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.
edited the dockerfile to remove useless steps
- Loading branch information
Showing
1 changed file
with
4 additions
and
11 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,20 +1,13 @@ | ||
FROM python:3.11 | ||
|
||
WORKDIR /python-microservice | ||
WORKDIR /career-microservice | ||
|
||
COPY requirements.txt . | ||
COPY . /career-microservice | ||
|
||
RUN pip install flask | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . . | ||
|
||
|
||
RUN pip install -r requirements.txt | ||
|
||
EXPOSE 80 | ||
|
||
ENV PORT 80 | ||
|
||
ENV HOSTNAME "0.0.0.0" | ||
|
||
CMD ["flask", "run", "--host", "0.0.0.0", "--port", "80"] | ||
CMD ["flask", "run", "--host=0.0.0.0", "--port=80"] |