-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from avantifellows/main
Docker fix, adding quiz link button
- Loading branch information
Showing
7 changed files
with
38 additions
and
65 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 |
---|---|---|
|
@@ -3,16 +3,16 @@ FROM python:3.9 | |
|
||
LABEL Pritam "[email protected]" | ||
|
||
WORKDIR /app | ||
WORKDIR /code | ||
|
||
COPY requirements.txt /app/requirements.txt | ||
COPY requirements.txt /code/requirements.txt | ||
ADD generate_table /app | ||
|
||
RUN pip install -r /app/requirements.txt | ||
RUN pip install -r /code/requirements.txt | ||
|
||
COPY . /app | ||
COPY ./app /code | ||
|
||
EXPOSE 80 | ||
|
||
# RUN python generate_table | ||
CMD ["python", "app/main.py"] | ||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5050", "--reload"] |
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ services: | |
app: | ||
build: . | ||
volumes: | ||
- "./:/app" | ||
- "./app:/code" | ||
ports: | ||
- "5050:5050" | ||
depends_on: | ||
|