GameExpo23/TFR/Dockerfile
2023-06-24 20:51:01 +00:00

17 lines
342 B
Docker

# syntax=docker/dockerfile:1
FROM alpine:3.18.2
EXPOSE 8000
WORKDIR /data
RUN mkdir /storage&& \
apk update && \
apk add python3 py3-pip postgresql-client
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY ./server ./server
COPY ./run.sh ./run.sh
RUN chmod +x ./run.sh
CMD ["./run.sh"]