mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-22 02:54:52 +00:00
17 lines
390 B
Docker
17 lines
390 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM alpine:latest
|
|
|
|
EXPOSE 8000
|
|
# RUN apt update && apt install -y python3 python3-pip postgresql-client
|
|
RUN apk update && apk add python3 py3-pip postgresql-client
|
|
WORKDIR /data
|
|
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip install -r requirements.txt
|
|
|
|
RUN mkdir /storage
|
|
COPY ./server ./server
|
|
COPY ./run.sh ./run.sh
|
|
RUN chmod +x ./run.sh
|
|
|
|
CMD ["./run.sh"]
|