Use two Dockerfiles, move Docker stuff to /docker
This commit is contained in:
8
docker/nginx/Dockerfile
Normal file
8
docker/nginx/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM nginx:1.25.3-alpine
|
||||
|
||||
COPY . /code
|
||||
RUN /code/docker/common-setup.sh
|
||||
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
EXPOSE 80 443
|
||||
Reference in New Issue
Block a user