Skip to content

Commit 3c9cd71

Browse files
update dockerfile
1 parent 664611e commit 3c9cd71

File tree

1 file changed

+3
-3
lines changed
  • src/dockerizers/angular/tests/default/code/dockerizer

1 file changed

+3
-3
lines changed

src/dockerizers/angular/tests/default/code/dockerizer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
FROM node:latest as build
33

44
# Set the working directory
5-
WORKDIR /usr/local/app
5+
WORKDIR /app
66

77
# Add the source code to app
8-
COPY ./ /usr/local/app/
8+
COPY . .
99

1010
# Install all the dependencies
1111
RUN npm install
@@ -18,7 +18,7 @@ RUN npm run build
1818
FROM nginx:latest
1919

2020
# 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
21+
COPY --from=build /app/dist/angular-test /usr/share/nginx/html
2222

2323
# Expose port 80
2424
EXPOSE 80

0 commit comments

Comments
 (0)