Minor bugfixes

This commit is contained in:
oitsjustjose 2023-01-16 23:19:33 -05:00
commit 4dee9156bd
6 changed files with 17 additions and 14 deletions

View file

@ -1,18 +1,18 @@
FROM node:16-alpine AS builder
FROM node:16.17.1-alpine3.15 AS builder
RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh
WORKDIR /app
COPY package*.json ./
RUN npm install
RUN yarn install
COPY . .
RUN npm run build
FROM node:16-alpine AS server
RUN yarn run build
FROM node:16.17.1-alpine3.15 AS server
ENV NODE_ENV=production
RUN npm install -g serve
RUN yarn global add serve
WORKDIR /app
COPY package*.json ./