Organize dockerfiles
This commit is contained in:
parent
7592fd8a0c
commit
150a43139f
@ -1,7 +1,7 @@
|
|||||||
FROM node:19
|
FROM node:19
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY package*.json ./
|
COPY ../package*.json ./
|
||||||
RUN npm ci --only=production
|
RUN npm ci --only=production
|
||||||
COPY . .
|
COPY .. .
|
||||||
EXPOSE 8460
|
EXPOSE 8460
|
||||||
CMD [ "node", "app.js" ]
|
CMD [ "node", "app.js" ]
|
1
docker/nginx-proxy/Dockerfile
Normal file
1
docker/nginx-proxy/Dockerfile
Normal file
@ -0,0 +1 @@
|
|||||||
|
FROM nginx:latest
|
0
docker/nginx-proxy/nginx.conf
Normal file
0
docker/nginx-proxy/nginx.conf
Normal file
Reference in New Issue
Block a user