build frontend in node docker container
This commit is contained in:
10
frontend/Dockerfile.frontend
Normal file
10
frontend/Dockerfile.frontend
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM node:alpine
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
Reference in New Issue
Block a user