mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
Update Dockerfile
This commit is contained in:
parent
d572cfb1d8
commit
306e1df746
@ -8,6 +8,7 @@ WORKDIR /usr/src/app
|
||||
COPY api ./api
|
||||
COPY static ./static
|
||||
COPY requirements.txt main.py ./
|
||||
RUN apt update
|
||||
RUN pip install -r requirements.txt
|
||||
RUN mkdir /data
|
||||
|
||||
@ -17,3 +18,6 @@ CMD ["uvicorn", "main:get_app", "--host", "0.0.0.0", "--port", "5000", "--log-le
|
||||
# Expose the port in which the application will be deployed
|
||||
EXPOSE 5000
|
||||
|
||||
# install supervisord
|
||||
RUN apt install -y supervisor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user