We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d18f27 commit ec5abfcCopy full SHA for ec5abfc
Dockerfile
@@ -1,18 +1,18 @@
1
# Serve Angular
2
FROM teracy/angular-cli AS development
3
4
-WORKDIR /app/
+WORKDIR /srv/app/
5
6
-COPY ./ /app/
+COPY ./ /srv/app/
7
8
RUN yarn
9
10
# Build and compile Angular
11
FROM node AS build
12
13
14
15
-COPY --from=development /app/ /app/
+COPY --from=development /srv/app/ /srv/app/
16
17
ARG env=production
18
@@ -21,6 +21,6 @@ RUN yarn run build --prod --configuration $env
21
# Only the compiled app, ready for production with Nginx
22
FROM nginx AS production
23
24
-COPY --from=build /app/dist/ /usr/share/nginx/html/
+COPY --from=build /srv/app/dist/ /usr/share/nginx/html/
25
26
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
0 commit comments