old-website/website/Dockerfile
2023-06-18 21:50:07 +00:00

19 lines
339 B
Docker

# syntax=docker/dockerfile:1
FROM alpine:latest
EXPOSE 8000
RUN apk update && apk add build-base postgresql-client \
python3 py3-pip python3-dev --no-cache
RUN mkdir /app
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY website .
COPY run.sh run.sh
RUN chmod +x run.sh
CMD ["./run.sh"]