mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
21 lines
329 B
Docker
21 lines
329 B
Docker
FROM python:2-alpine as builder
|
|
|
|
WORKDIR /www
|
|
|
|
COPY ./_build/.requirements.txt _build/
|
|
|
|
RUN apk add \
|
|
git \
|
|
make
|
|
|
|
RUN pip install pip==9.0.1 wheel==0.29.0 \
|
|
&& pip install -r _build/.requirements.txt
|
|
|
|
COPY . /www
|
|
|
|
RUN make -C _build html
|
|
|
|
FROM nginx:alpine
|
|
|
|
COPY --from=builder /www/_build/html /usr/share/nginx/html
|