Created deployment
This commit is contained in:
10
deployment/develop/docker/Dockerfile
Normal file
10
deployment/develop/docker/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
# --- Release image ---
|
||||
FROM node:22-alpine AS release
|
||||
ARG PORT
|
||||
WORKDIR /home/node/app
|
||||
COPY ./src ./src
|
||||
COPY ./package.json ./
|
||||
COPY ./package-lock.json ./
|
||||
RUN npm ci
|
||||
EXPOSE $PORT
|
||||
ENTRYPOINT ["node", "src/apps/index.js"]
|
||||
Reference in New Issue
Block a user