Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
KateCourt authored Feb 14, 2020
2 parents 8336864 + bb05c22 commit d9ec465
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ RUN ng build --prod="true"

FROM nginx:alpine
COPY --from=builder /usr/local/app/dist/* /usr/share/nginx/html
RUN ls /usr/share/nginx/html
COPY nginx/default.conf /etc/nginx/conf.d/default.conf


6 changes: 6 additions & 0 deletions nginx/default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
server {
location / {
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html =404;
}
}

0 comments on commit d9ec465

Please sign in to comment.