copy nginx conf
added default.conf
This commit is contained in:
@@ -13,5 +13,7 @@ RUN npm ci && npm run build
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=build-image /app/dist/app-fe /usr/share/nginx/html
|
||||
COPY ./nginx/conf.d /etc/nginx/
|
||||
RUN nginx -s reload
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user