wip
This commit is contained in:
parent
63bf55b978
commit
8b18e05fbc
25 changed files with 1042 additions and 1 deletions
12
working-without-workspace/code/Dockerfile.twig
Normal file
12
working-without-workspace/code/Dockerfile.twig
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM php:{{ php.version }} AS base
|
||||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
RUN which composer && composer -V
|
||||
|
||||
ARG DOCKER_UID=1000
|
||||
ENV DOCKER_UID="${DOCKER_UID}"
|
||||
|
||||
WORKDIR {{ project_root }}
|
||||
|
||||
RUN adduser --disabled-password --uid "${DOCKER_UID}" app \
|
||||
&& chown app:app -R {{ project_root }}
|
Loading…
Add table
Add a link
Reference in a new issue