Add Dockerfile
This commit is contained in:
parent
48866cc6ab
commit
ada0fa5ae8
1 changed files with 9 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
CMD ["node", "server.mjs"]
|
||||
EXPOSE 3000
|
Loading…
Reference in a new issue