Skip to content

Commit c7229f0

Browse files
authored
fix Dockerfile (#201)
1 parent cb2d6a3 commit c7229f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ FROM composer:2.2
22

33
RUN apk add --no-cache tini tzdata
44

5-
ADD . /src/app/
6-
75
WORKDIR /src/app
86

9-
RUN composer install
7+
COPY . .
108

11-
RUN cp includes/config.environment.inc.php includes/config.inc.php
9+
RUN set -xe; \
10+
composer install; \
11+
cp includes/config.environment.inc.php includes/config.inc.php
1212

1313
ENV PORT 80
1414
EXPOSE 80

0 commit comments

Comments
 (0)