diff options
Diffstat (limited to 'Containerfile')
-rw-r--r-- | Containerfile | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Containerfile b/Containerfile deleted file mode 100644 index c7ee294..0000000 --- a/Containerfile +++ /dev/null @@ -1,18 +0,0 @@ -# build stage -FROM node:19-slim as build -WORKDIR /app -COPY package*.json ./ -RUN npm install -COPY . . -RUN npm run build - -# production build stage -FROM node:19-slim as production -WORKDIR /app -COPY --from=build /app/package*.json ./ -RUN npm install --omit=dev -COPY --from=build /app/dist ./dist -COPY --from=build /app/assets ./assets -EXPOSE 8080 -VOLUME /static -CMD ["npm", "start"]
\ No newline at end of file |