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 6320f18 commit 4733161Copy full SHA for 4733161
ui/Dockerfile
@@ -10,6 +10,7 @@ RUN npm run build
10
FROM nginx:alpine
11
COPY --from=builder /app/dist /usr/share/nginx/html
12
COPY public/images /usr/share/nginx/html/images
13
+COPY nginx.conf /etc/nginx/conf.d/default.conf
14
COPY nginx-entrypoint.sh /usr/local/bin/nginx-entrypoint.sh
15
16
EXPOSE 80
ui/nginx.conf
@@ -0,0 +1,15 @@
1
+server {
2
+ listen 80;
3
+ server_name _;
4
+
5
+ root /usr/share/nginx/html;
6
7
+ location / {
8
+ try_files $uri $uri/ /index.html;
9
+ }
+ location /images/ {
+ try_files $uri $uri/ =404;
+}
0 commit comments