init
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
FROM node:18-alpine as install
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./frontend/package*.json ./
|
||||
RUN ls -la
|
||||
RUN npm install
|
||||
|
||||
FROM install as run
|
||||
COPY ./frontend .
|
||||
RUN ["npm", "run", "build"]
|
||||
|
||||
ENTRYPOINT ["npm", "run", "production"]
|
||||
Reference in New Issue
Block a user