Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0521385d30 | |||
| f3ac85cfb4 | |||
| 9095cdf4ed | |||
| a240dd4b22 |
+1
-2
@@ -9,6 +9,5 @@ RUN npm run build
|
|||||||
# Runtime Stage
|
# Runtime Stage
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=builder /app/dist/*/browser /usr/share/nginx/html
|
COPY --from=builder /app/dist/*/browser /usr/share/nginx/html
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
-11
@@ -1,11 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name _;
|
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
|
||||||
index index.html;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ /index.html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user