Skip to content

Commit

Permalink
fix: failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Oct 14, 2024
1 parent e8da7fd commit 28ba56b
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 445 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY ./app ./app
ENV APP_NAME=quack
RUN npm run build

FROM denoland/deno:alpine-1.45.4
FROM denoland/deno:alpine-2.0.0
RUN apk -U upgrade
run apk add vips-cpp build-base vips vips-dev
ENV ENVIRONMENT=production
Expand All @@ -19,12 +19,12 @@ COPY ./deno ./deno
COPY ./migrations ./migrations
COPY ./deno.* ./
COPY ./plugins ./plugins
COPY --from=build /app/app/dist /app/public
COPY --from=build /app/node_modules /app/node_modules
#COPY ./migrate-mongo-config.js ./migrate-mongo-config.js
#RUN deno cache --allow-scripts npm:migrate-mongo
RUN deno cache --allow-scripts ./deno/server/main.ts
RUN deno install --allow-scripts
COPY ./entrypoint.sh ./entrypoint.sh
COPY --from=build /app/app/dist /app/public
COPY --from=build /app/node_modules /app/node_modules

ENV PUBLIC_DIR=/app/public
ENV PORT=8080
Expand Down
Loading

0 comments on commit 28ba56b

Please sign in to comment.