Add Dockerfile for frontend.
This commit is contained in:
parent
aef0e6c31f
commit
2f1ac35721
8
frontend/Dockerfile
Normal file
8
frontend/Dockerfile
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# frontend/Dockerfile
|
||||||
|
FROM node:20-alpine
|
||||||
|
WORKDIR /app
|
||||||
|
COPY package.json ./
|
||||||
|
RUN npm install
|
||||||
|
COPY . .
|
||||||
|
EXPOSE 3000
|
||||||
|
CMD ["npm", "start"]
|
||||||
Loading…
Reference in New Issue
Block a user