updated docker file
This commit is contained in:
parent
c54278baea
commit
0bdf7097d4
@ -8,6 +8,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /etc/letsencrypt/live/nekiiinkognito.ru:/etc/nginx/ssl:ro
|
||||||
|
|
||||||
enshi_back:
|
enshi_back:
|
||||||
build: ./enshi_back
|
build: ./enshi_back
|
||||||
|
|||||||
@ -14,9 +14,5 @@ FROM nginx:alpine
|
|||||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||||
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
|
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
# Certificates
|
|
||||||
COPY ./nginx/fullchain.pem /etc/nginx/ssl/
|
|
||||||
COPY ./nginx/privkey.pem /etc/nginx/ssl/
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
Loading…
x
Reference in New Issue
Block a user