Initial commit
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:3.11
|
||||
COPY ./app /source
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --no-cache-dir -r /source/requirements.txt
|
||||
EXPOSE 3000
|
||||
RUN useradd app
|
||||
USER app
|
||||
WORKDIR source
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:3000", "app:app"]
|
||||
Reference in New Issue
Block a user