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 aa6e2ef commit a0e8eb7Copy full SHA for a0e8eb7
docker-compose.yml
@@ -40,9 +40,10 @@ services:
40
41
nginx_service:
42
container_name: nginx_container
43
- image: nginx:1.25.1-alpine
44
- volumes:
45
- - ./services/server/nginx.conf:/etc/nginx/conf.d/default.conf
+ image: nginx_image
+ build:
+ context: ./services/server
46
+ dockerfile: Dockerfile
47
ports:
48
- 8080:80
49
depends_on:
services/server/Dockerfile
@@ -0,0 +1,4 @@
1
+FROM nginx:1.25.1-alpine
2
+
3
+RUN rm /etc/nginx/conf.d/default.conf
4
+COPY nginx.conf /etc/nginx/conf.d
0 commit comments