Skip to content
Snippets Groups Projects
Commit 94f83f9a authored by Eugen Ciur's avatar Eugen Ciur
Browse files

fix minor issue with nginx dockerization

parent 61c1bcd9
No related branches found
No related tags found
Loading
......@@ -18,3 +18,6 @@ RUN ember build --environment production
FROM nginx:1.21.1-alpine
COPY --from=build /src/dist/ /usr/share/nginx/html
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
ENTRYPOINT ["nginx", "-g", "daemon off;"]
server {
root /usr/share/nginx/html;
index index.html index.htm;
listen 80;
location / {
try_files $uri $uri/ /index.html =404;
}
location /assets {
try_files $uri $uri/ =404;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment