react-logo/misc/containers/backend/Dockerfile

29 lines
593 B
Docker
Raw Permalink Normal View History

2020-02-04 17:20:39 +01:00
FROM alpine:3.11
ARG HTTP_PROXY=
ARG HTTPS_PROXY=
ARG http_proxy=
ARG https_proxy=
ENV HTTP_PROXY=
ENV HTTPS_PROXY=
ENV http_proxy=
ENV https_proxy=
RUN apk add --no-cache \
php7 php7-xml php7-ctype php7-curl php7-dom php7-session php7-pdo php7-tokenizer php7-pdo_mysql \
composer bash
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint
RUN chmod +x /usr/local/bin/docker-entrypoint
COPY wait-for-it.sh /usr/local/bin/wait-for-it
RUN chmod +x /usr/local/bin/wait-for-it
RUN mkdir -p /app
COPY env.local /app/.env.local
WORKDIR /app
CMD /usr/local/bin/docker-entrypoint