Skip to content

Commit ecce122

Browse files
authored
Merge pull request #97 from rsumner/master
security updates and Docker run failure
2 parents 24388f6 + a49b1a1 commit ecce122

3 files changed

Lines changed: 731 additions & 479 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM node:18-alpine as build
1+
FROM node:alpine as build
22
RUN apk add --no-cache make gcc g++ python3 linux-headers udev tzdata
33
WORKDIR /app
44
COPY package*.json ./
55
RUN npm ci
66
COPY . .
77
RUN npm run build
8-
RUN npm ci --production
8+
RUN npm ci --omit=dev
99

10-
FROM node:18-alpine
10+
FROM node:alpine
1111
RUN apk add git
1212
RUN mkdir /app && chown node:node /app && mkdir /app/data && chown node:node /app/data
1313
WORKDIR /app

0 commit comments

Comments
 (0)