Skip to content

Commit 61c6a76

Browse files
committed
fix(dockerfile.liquid): fixed an issue where copy after we chown
Fixed an issue as we where copying after we chown a directory resulting in permission errors Fix #80
1 parent 51ede71 commit 61c6a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/Dockerfile.liquid

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ RUN npm config set network-timeout 600000 -g && npm install
1515
{%- endif %}
1616

1717
WORKDIR /opt/app
18+
COPY . .
1819
ENV PATH /opt/node_modules/.bin:$PATH
1920
RUN chown -R strapi:strapi /opt/app
2021
USER strapi
21-
COPY . .
2222
{%- if packageManager == "yarn" %}
2323
RUN ["yarn", "build"]
2424
{%- else %}

0 commit comments

Comments
 (0)