Skip to content

Commit

Permalink
fix docker compose up -d failed
Browse files Browse the repository at this point in the history
mayeaux#453

 The 'xbps' package must be updated, please run `xbps-install -u xbps
  • Loading branch information
thomaspaulson committed Jun 10, 2022
1 parent 5ebb154 commit 54dff41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM bougyman/voidlinux as void
RUN xbps-install -Syu git tar python nodejs-lts-10 base-devel
RUN xbps-install -Syu xbps git tar python nodejs-lts base-devel
COPY app* package* .env.settings.sample .env.private.sample copySettingsAndPrivateFiles.js Procfile routes.js /app/
COPY bin /app/bin/
COPY caching /app/caching/
Expand Down Expand Up @@ -28,7 +28,7 @@ RUN npm i --production && \
FROM bougyman/voidlinux
WORKDIR /app/
COPY --from=builder /app/ /app/
RUN xbps-install -Syu tar python nodejs-lts-10 && rm -rf /var/cache/xbps && \
RUN xbps-install -Syu xbps tar python nodejs-lts && rm -rf /var/cache/xbps && \
ln -s /app/node_modules/ffprobe-static/bin/linux/x64/ffprobe /app/node_modules/@ffmpeg-installer/linux-x64/ffmpeg /usr/local/bin/
EXPOSE 8080
CMD ["npm", "start"]

0 comments on commit 54dff41

Please sign in to comment.