initial commit
This commit is contained in:
commit
3b3c9a9417
258 changed files with 20086 additions and 0 deletions
12
services/myblog/frontend/Dockerfile
Normal file
12
services/myblog/frontend/Dockerfile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM node:alpine
|
||||
|
||||
WORKDIR /app
|
||||
ENV PATH /app/node_modules/.bin:$PATH
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install -g npm@8.19.2 && npm config rm proxy && npm config rm https-proxy
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
EXPOSE 3000
|
||||
CMD npm run start
|
||||
Loading…
Add table
Add a link
Reference in a new issue