first commit
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci --only=production || npm i --only=production
|
||||
COPY server.js ./
|
||||
COPY public ./public
|
||||
EXPOSE 8080
|
||||
ENV PORT=8080
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user