add dockerfile.frontend
This commit is contained in:
11
docker/Dockerfile.frontend
Normal file
11
docker/Dockerfile.frontend
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
FROM node:20-alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY package*.json ./
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
CMD ["ls", "dist"]
|
||||||
Reference in New Issue
Block a user