mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 16:53:09 +02:00
parent
a0769d65e3
commit
fac7ebf4f6
1 changed files with 3 additions and 7 deletions
10
Dockerfile
10
Dockerfile
|
@ -23,15 +23,11 @@ RUN apk add --no-cache \
|
|||
procps \
|
||||
python \
|
||||
zlib-dev
|
||||
RUN npm i -g node-gyp
|
||||
|
||||
COPY ./package.json ./
|
||||
RUN npm i
|
||||
RUN npm i -g yarn
|
||||
|
||||
COPY . ./
|
||||
RUN node-gyp configure \
|
||||
&& node-gyp build \
|
||||
&& npm run build
|
||||
RUN yarn install
|
||||
RUN yarn build
|
||||
|
||||
FROM base AS runner
|
||||
|
||||
|
|
Loading…
Reference in a new issue