Update commands to debian apt

This commit is contained in:
Maksim Karasev 2021-08-29 11:07:54 +03:00
parent 9d2f49d0b7
commit 22f9760a2a
1 changed files with 3 additions and 7 deletions

View File

@ -14,18 +14,14 @@ WORKDIR /app
COPY ./ /app
COPY --from=frontend-build /app/packages/web/build /app/packages/server/public
RUN apk add --update-cache \
RUN apt install \
ffmpeg \
python3 \
build-base \
build-essential \
&& yarn --version\
&& yarn workspaces focus server\
&& yarn workspace server build \
&& yarn cache clean --all\
&& rm -rf /var/cache/apk/* \
&& apk del \
python3 \
build-base
&& yarn cache clean --all
VOLUME ["/images", "/db"]
ENV IMAGE_DIR="/images"