mirror of
https://github.com/caprover/caprover
synced 2025-10-30 10:07:01 +00:00
18 lines
440 B
Plaintext
18 lines
440 B
Plaintext
# FROM python:3.8.3-alpine
|
|
# Uncomment the line above if you want to use a Dockerfile instead of templateId
|
|
|
|
|
|
RUN apk update && apk upgrade && \
|
|
apk add --no-cache make g++ bash git openssh postgresql-dev curl
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY ./requirements.txt /usr/src/app/
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY ./ /usr/src/app
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["python", "manage.py", "runserver", "0.0.0.0:80"]
|