add docker files
This commit is contained in:
5
frontend/resume-builder/.dockerignore
Normal file
5
frontend/resume-builder/.dockerignore
Normal file
@ -0,0 +1,5 @@
|
||||
node_modules
|
||||
.git
|
||||
.dockerignore
|
||||
Dockerfile
|
||||
.env
|
||||
16
frontend/resume-builder/Dockerfile
Normal file
16
frontend/resume-builder/Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
# Use Node 23.10
|
||||
FROM node:23.10
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
# Serve using static server
|
||||
RUN npm install -g serve
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["serve", "-s", "dist", "-l", "3000"]
|
||||
Reference in New Issue
Block a user