fix: keep only project subdirectory files
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM node:20-slim
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
COPY src ./src
|
||||
COPY public ./public
|
||||
ENV PORT=8096
|
||||
EXPOSE 8096
|
||||
CMD ["node", "src/server.js"]
|
||||
Reference in New Issue
Block a user