copied the code from the working repo
This commit is contained in:
6
mtucijobsbackend/Dockerfile
Normal file
6
mtucijobsbackend/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM python:3.9-alpine
|
||||
WORKDIR /code
|
||||
COPY ./requirements.txt /code/requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
COPY . .
|
||||
CMD ["fastapi", "run", "./app/main.py", "--root-path", "/api/"]
|
||||
Reference in New Issue
Block a user