feat: trying to add hashes to scripts
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,10 +1,10 @@
|
||||
FROM denoland/deno:2.5.4 AS build
|
||||
FROM denoland/deno:2.6.4 AS build
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl ffmpeg && \
|
||||
deno run -A npm:playwright install --with-deps firefox &&\
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
curl ffmpeg && \
|
||||
deno run -A npm:playwright install --with-deps firefox &&\
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -15,9 +15,9 @@ COPY . .
|
||||
ENV DATA_DIR=/app/data
|
||||
|
||||
RUN mkdir -p $DATA_DIR && \
|
||||
deno install --allow-import --allow-ffi --allow-scripts=npm:sharp -e main.ts &&\
|
||||
sed -i -e 's/"deno"/"no-deno"/' node_modules/@libsql/client/package.json &&\
|
||||
deno task build
|
||||
deno install --allow-import --allow-ffi --allow-scripts=npm:sharp -e main.ts &&\
|
||||
sed -i -e 's/"deno"/"no-deno"/' node_modules/@libsql/client/package.json &&\
|
||||
deno task build
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user