Commit 5e60bb80 authored by StyleZhang's avatar StyleZhang

test web dockerfile

parent a25e038a
FROM langgenius/base:1.0.1-bullseye-slim FROM node:18-alpine
LABEL maintainer="takatost@gmail.com" LABEL maintainer="takatost@gmail.com"
...@@ -13,6 +13,8 @@ WORKDIR /app/web ...@@ -13,6 +13,8 @@ WORKDIR /app/web
COPY package.json /app/web/package.json COPY package.json /app/web/package.json
RUN npm install pm2 -g
RUN npm install --only=prod RUN npm install --only=prod
COPY . /app/web/ COPY . /app/web/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment