Update commands to debian apt
This commit is contained in:
parent
9d2f49d0b7
commit
22f9760a2a
10
Dockerfile
10
Dockerfile
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue