Skip to content

Commit

Permalink
bind data folder to docker volume
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Nov 20, 2023
1 parent e850bf7 commit c831c8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ WORKDIR /app
RUN --mount=type=bind,source=src,target=src \
--mount=type=bind,source=Cargo.toml,target=Cargo.toml \
--mount=type=bind,source=Cargo.lock,target=Cargo.lock \
--mount=type=bind,source=source.json,target=source.json \
--mount=type=bind,source=communities.json,target=communities.json \
--mount=type=bind,source=data,target=data \
--mount=type=cache,target=/app/target/ \
--mount=type=cache,target=/usr/local/cargo/registry/ \
<<EOF
Expand Down

1 comment on commit c831c8d

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on c831c8d Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/mod.ts".

Please sign in to comment.