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 664611e commit 3c9cd71Copy full SHA for 3c9cd71
src/dockerizers/angular/tests/default/code/dockerizer/Dockerfile
@@ -2,10 +2,10 @@
2
FROM node:latest as build
3
4
# Set the working directory
5
-WORKDIR /usr/local/app
+WORKDIR /app
6
7
# Add the source code to app
8
-COPY ./ /usr/local/app/
+COPY . .
9
10
# Install all the dependencies
11
RUN npm install
@@ -18,7 +18,7 @@ RUN npm run build
18
FROM nginx:latest
19
20
# Copy the build output to replace the default nginx contents.
21
-COPY --from=build /usr/local/app/dist/sample-angular-app /usr/share/nginx/html
+COPY --from=build /app/dist/angular-test /usr/share/nginx/html
22
23
# Expose port 80
24
EXPOSE 80
0 commit comments