Upgrade lerna and some base docker images off of alpine
This commit is contained in:
committed by
Luke Channings
parent
c2092e0e5d
commit
35d2f39ba9
@ -31,7 +31,7 @@
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"graphql": "^15.3.0",
|
||||
"graphql-tag": "^2.11.0",
|
||||
"lerna": "^4.0.0",
|
||||
"lerna": "^7.4.1",
|
||||
"prettier": "^2.5.1",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM node:18.16-alpine
|
||||
FROM node:18.16
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -8,7 +8,9 @@ COPY tsconfig.json .
|
||||
|
||||
COPY /packages/db/package.json ./packages/db/package.json
|
||||
|
||||
RUN apk --no-cache --virtual build-dependencies add postgresql uuidgen
|
||||
RUN apt-get update && apt-get install -y \
|
||||
postgresql \
|
||||
uuid-runtime
|
||||
|
||||
RUN yarn install
|
||||
|
||||
|
||||
@ -12,6 +12,8 @@ ENV NEXT_PUBLIC_BASE_URL=$BASE_URL
|
||||
ENV NEXT_PUBLIC_SERVER_BASE_URL=$SERVER_BASE_URL
|
||||
ENV NEXT_PUBLIC_HIGHLIGHTS_BASE_URL=$HIGHLIGHTS_BASE_URL
|
||||
|
||||
RUN apk add g++ make python3
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
|
||||
Reference in New Issue
Block a user