irongit
dockerweb/Dockerfile
19 lines534 B
1FROM alpine:3.17
2RUN apk update && apk upgrade --available
3RUN apk add --update python3 nodejs npm postgresql postgresql-jit nginx redis py3-pip
4RUN python -m pip install --upgrade pip
5RUN mkdir /run/postgresql
6RUN chown postgres:postgres /run/postgresql
7ENV IS_DOCKER=1
8ENV PYTHONDONTWRITEBYTECODE=1
9ENV PYTHONUNBUFFERED=1
10
11COPY docker-entrypoint.sh /
12COPY sample /sample
13RUN chmod 777 /docker-entrypoint.sh
14RUN pip install -r /sample/backend/requirements.txt
15ENTRYPOINT [ "/docker-entrypoint.sh" ]
16
17EXPOSE 80
18EXPOSE 5432
19EXPOSE 6379