fix: update dockerfile
This commit is contained in:
parent
cc6209afcb
commit
88f35d0ffb
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user