fix: update dockerfile

This commit is contained in:
max_richter 2025-01-05 23:53:36 +01:00
parent cc6209afcb
commit 88f35d0ffb

View File

@ -6,10 +6,11 @@ ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN deno install --allow-scripts &&\
sed -i -e 's/"deno"/"no-deno"/' node_modules/@libsql/client/package.json &&\ RUN deno install --allow-scripts
deno task db migrate &&\ RUN sed -i -e 's/"deno"/"no-deno"/' node_modules/@libsql/client/package.json
deno task build RUN deno task db migrate
RUN deno task build
EXPOSE 8000 EXPOSE 8000