Rename Dockerfile to Dockerfile-dev
This commit is contained in:
11
Dockerfile-dev
Normal file
11
Dockerfile-dev
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY ./requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt
|
||||
|
||||
RUN echo "first_run" > "/tmp/first_run"
|
||||
|
||||
CMD ["fastapi", "run", "app/main.py", "--proxy-headers", "--port", "80", "--reload"]
|
||||
Reference in New Issue
Block a user