mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-28 13:53:12 +00:00
Renamed the folders and containers to something more reasonable Using .env file for secretes so I can better hide them from git Mostly it, I think
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"]
|