Initial commit
This commit is contained in:
29
misc/containers/backend/Dockerfile
Normal file
29
misc/containers/backend/Dockerfile
Normal file
@ -0,0 +1,29 @@
|
||||
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
|
Reference in New Issue
Block a user