Skip to content

Commit

Permalink
Switch to debian bullseye based node16 base image (#225)
Browse files Browse the repository at this point in the history
* switch to debian bullseye based node16 base image

Signed-off-by: Jari Kolehmainen <[email protected]>

* configure yarn network timeout

Signed-off-by: Jari Kolehmainen <[email protected]>

---------

Signed-off-by: Jari Kolehmainen <[email protected]>
  • Loading branch information
jakolehm authored Sep 20, 2023
1 parent 5308387 commit 363cdb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--install.network-timeout 100000
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM node:16-alpine as build
FROM node:16-bullseye-slim as build

RUN mkdir /app
WORKDIR /app
COPY . /app
RUN apk add --update gcc g++ make python3 && \
RUN apt-get update -y -q && apt-get install -y -q gcc g++ make python3 && \
yarn install --frozen-lockfile && \
yarn dist && \
yarn install --frozen-lockfile --prod

FROM node:16-alpine
FROM node:16-bullseye-slim

RUN mkdir /app
WORKDIR /app
Expand Down

0 comments on commit 363cdb7

Please sign in to comment.