add docker files
This commit is contained in:
2
frontend/.dockerignore
Normal file
2
frontend/.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
.dockerignore
|
||||
Dockerfile
|
||||
7
frontend/Dockerfile
Normal file
7
frontend/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM node:23-alpine
|
||||
WORKDIR /build
|
||||
COPY . ./
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
EXPOSE 3000
|
||||
CMD [ "npm", "start" ]
|
||||
Reference in New Issue
Block a user