Create Dockerfile
This commit is contained in:
parent
85093355e3
commit
d9627f8091
1 changed files with 14 additions and 0 deletions
14
web/Dockerfile
Normal file
14
web/Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
FROM node:20-alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY package*.json ./
|
||||||
|
COPY package-lock.json ./
|
||||||
|
COPY . ./web
|
||||||
|
|
||||||
|
RUN npm ci
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
EXPOSE 8080
|
||||||
|
EXPOSE 5172
|
||||||
|
CMD ["npm", "run", "dev"]
|
||||||
Loading…
Reference in a new issue