mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 22:35:59 +00:00
14 lines
241 B
Text
14 lines
241 B
Text
|
FROM node:slim as build
|
||
|
|
||
|
ENV NODE_ENV=production
|
||
|
|
||
|
COPY package.json package-lock.json ./
|
||
|
RUN npm ci --no-audit --progress=false --omit=dev
|
||
|
|
||
|
COPY . .
|
||
|
RUN npm run build
|
||
|
|
||
|
FROM theorangeone/website-server:latest
|
||
|
|
||
|
COPY --from=build ./public /srv
|