Skip to content

Commit 7b0e216

Browse files
downgrade Ubuntu + node
1 parent 3d6cca3 commit 7b0e216

File tree

2 files changed

+984
-375
lines changed

2 files changed

+984
-375
lines changed

frontend/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:20.04
22

3-
RUN apt-get update && apt-get -y install curl gnupg bc && curl -sL https://deb.nodesource.com/setup_20.x | bash - && apt-get -y install nodejs
3+
RUN apt-get update && apt-get -y install curl gnupg bc && curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get -y install nodejs
44
RUN apt-get update && apt-get install -y dos2unix sox libsox-fmt-mp3 libttspico-utils ffmpeg
55

66
WORKDIR /app
77
COPY ./package.json /app/package.json
8-
RUN npm install --no-optional --production --legacy-peer-deps
8+
RUN npm install --omit=optional --omit=dev --legacy-peer-deps
99
COPY . /app
1010
COPY ./resources/.env /app/.env
1111
RUN find . -type f ! -path '*/node_modules/*' -print0 | xargs -0 dos2unix

0 commit comments

Comments
 (0)