Chat App Server that is simply a public place to store messages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ChatAppServer/Dockerfile

16 lines
272 B

FROM python:3.10
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV DB_NAME $DB_NAME
ENV DB_USER $DB_USER
ENV DB_PASSWORD $DB_PASSWORD
ENV DB_HOST $DB_HOST
ENV DB_PORT $DB_PORT
WORKDIR /app/src/
EXPOSE 80
CMD gunicorn -b 0.0.0.0:80 --log-file - main:app