Browse Source

fix: fix autobuild file

master
winkidney 1 month ago
parent
commit
900a7b4b00
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Dockerfile.autobuild

+ 2
- 1
Dockerfile.autobuild View File

@@ -15,6 +15,7 @@ FROM node:18-bookworm as pnpm-build

WORKDIR pinry-spa
COPY pinry-spa/package.json pinry-spa/pnpm-lock.yaml ./
RUN npm install -g pnpm
RUN pnpm install
COPY pinry-spa .
RUN pnpm build
@@ -26,7 +27,7 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
&& if [ $(dpkg --print-architecture) = "arm64" -o $(dpkg --print-architecture) = "armhf" ]; then apt-get -y install apt-utils; fi \
&& apt-get -y install gcc default-libmysqlclient-dev
&& apt-get -y install pkg-config gcc default-libmysqlclient-dev
RUN pip --no-cache-dir install --user mysqlclient cx-Oracle




Loading…
Cancel
Save