Pārlūkot izejas kodu

🔥: remove useless nginx config

master
Adrien pirms 4 gadiem
vecāks
revīzija
cfadadac5f
2 mainītis faili ar 2 papildinājumiem un 14 dzēšanām
  1. +2
    -5
      Dockerfile.production
  2. +0
    -9
      config/docker/nginx.conf

+ 2
- 5
Dockerfile.production Parādīt failu

@@ -7,8 +7,5 @@ COPY . .
RUN yarn build

FROM nginx:1.17.9-alpine as production-stage
RUN mkdir /app
COPY --from=build-stage /app/dist /app
RUN rm /etc/nginx/conf.d/default.conf
COPY config/docker/nginx.conf /etc/nginx/conf.d/nexus-timers.conf

WORKDIR /usr/share/nginx/html
COPY --from=build-stage /app/dist .

+ 0
- 9
config/docker/nginx.conf Parādīt failu

@@ -1,9 +0,0 @@
server {
listen 80;
root /app;


access_log /var/log/nginx/nexus-timers.access.log;
error_log /var/log/nginx/nexus-timers.error.log;

}

Notiek ielāde…
Atcelt
Saglabāt