mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-28 13:53:12 +00:00
17 lines
353 B
Docker
17 lines
353 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM alpine:3.18.2
|
|
|
|
EXPOSE 8000
|
|
WORKDIR /data
|
|
RUN mkdir /storage&& \
|
|
apk update && \
|
|
apk --no-cache 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"]
|