mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #3019 from omnivore-app/fix/debian-dockerfiles
Fixes for new docker images
This commit is contained in:
commit
b6a141c804
2 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ WORKDIR /app
|
|||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
||||
RUN apt-get update && apt-get install -y g++ make python3
|
||||
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
COPY tsconfig.json .
|
||||
|
|
@ -35,6 +34,8 @@ RUN yarn install --pure-lockfile --production
|
|||
|
||||
FROM node:18.16 as runner
|
||||
|
||||
RUN apt-get update && apt-get install -y netcat-openbsd
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
ENV CHROMIUM_PATH /usr/bin/chromium-browser
|
||||
ENV CHROMIUM_PATH /usr/bin/chromium
|
||||
ENV LAUNCH_HEADLESS=true
|
||||
|
||||
COPY package.json .
|
||||
|
|
|
|||
Loading…
Reference in a new issue