File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ WORKDIR /api
14
14
COPY api/package*.json ./
15
15
RUN npm install
16
16
# Copy the rest of your API source code
17
- COPY api/ .
17
+ COPY --chown=1000:1000 api/ .
18
18
19
19
# Copy the built Vue.js app from the previous stage
20
- COPY --from=build-stage /app/dist /api/public
21
- COPY --from=build-stage /app/dist/assets/app-config.js /api/app-config.template.js
20
+ COPY --chown=1000:1000 -- from=build-stage /app/dist /api/public
21
+ COPY --chown=1000:1000 -- from=build-stage /app/dist/assets/app-config.js /api/app-config.template.js
22
22
23
23
# install gettext-base for envsubst
24
24
RUN apt-get update && apt-get install -y gettext-base
@@ -28,4 +28,4 @@ EXPOSE 3000
28
28
29
29
# Command to run your API (and serve your Vue.js app)
30
30
RUN chmod +x /api/docker-entrypoint.api/entrypoint.sh
31
- ENTRYPOINT ["/api/docker-entrypoint.api/entrypoint.sh" ]
31
+ ENTRYPOINT ["/api/docker-entrypoint.api/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments