mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-27 21:33:11 +00:00
15 lines
334 B
Docker
15 lines
334 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM python:3.10-alpine
|
|
|
|
EXPOSE 8080
|
|
RUN apk add --no-cache gcc musl-dev linux-headers
|
|
WORKDIR /data
|
|
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip install -r requirements.txt
|
|
|
|
RUN mkdir /highscore
|
|
COPY /highscore /highscore
|
|
WORKDIR /highscore
|
|
|
|
CMD ["gunicorn", "--bind", "highscore:8080", "server:app"]
|