fix: update npm calls to handle workspaces (#44370)
* fix: use workspaces for crowdin npm ci * fix: update server.Dockerfile to use workspaces * fix: update client.Dockerfile to use workspaces
This commit is contained in:
committed by
GitHub
parent
e262301ac8
commit
9c078ab5d2
@@ -1,4 +1,4 @@
|
||||
FROM node:14.18.2-buster AS builder
|
||||
FROM node:16-buster AS builder
|
||||
|
||||
# this is a bit clunky, perhaps there's a more concise way of passing in build
|
||||
# arguments
|
||||
@@ -28,7 +28,7 @@ RUN npm run build:client
|
||||
WORKDIR /home/node/config
|
||||
RUN git clone https://github.com/freeCodeCamp/client-config.git client
|
||||
|
||||
FROM node:14.18.2-alpine
|
||||
FROM node:16-alpine
|
||||
RUN npm i -g serve
|
||||
USER node
|
||||
WORKDIR /home/node
|
||||
|
Reference in New Issue
Block a user