remove chown in nginx build
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
This commit is contained in:
parent
c0431a6857
commit
437125b573
|
@ -5,7 +5,7 @@ RUN npm install && npm run prod && npm run img && rm -R node_modules
|
||||||
|
|
||||||
FROM nginx:1.21.6-alpine as nginx
|
FROM nginx:1.21.6-alpine as nginx
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --chown=www-data:www-data --from=node . /app
|
COPY --from=node . /app
|
||||||
COPY ./.docker/nginx/nginx.conf /etc/nginx/nginx.conf
|
COPY ./.docker/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue