File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 41
41
id : docker_build
42
42
uses : docker/build-push-action@v2
43
43
with :
44
- context : ./apps/labrinth
44
+ file : ./apps/labrinth/Dockerfile
45
45
push : ${{ github.event_name != 'pull_request' }}
46
46
tags : ${{ steps.docker_meta.outputs.tags }}
47
47
labels : ${{ steps.docker_meta.outputs.labels }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ ENV PKG_CONFIG_ALLOW_CROSS=1
3
3
4
4
WORKDIR /usr/src/labrinth
5
5
COPY . .
6
- RUN cargo build --release
6
+ RUN cargo build --release --package labrinth
7
7
8
8
9
9
FROM debian:bookworm-slim
@@ -20,8 +20,8 @@ RUN apt-get update \
20
20
RUN update-ca-certificates
21
21
22
22
COPY --from=build /usr/src/labrinth/target/release/labrinth /labrinth/labrinth
23
- COPY --from=build /usr/src/labrinth/migrations/* /labrinth/migrations/
24
- COPY --from=build /usr/src/labrinth/assets /labrinth/assets
23
+ COPY --from=build /usr/src/labrinth/apps/labrinth/ migrations/* /labrinth/migrations/
24
+ COPY --from=build /usr/src/labrinth/apps/labrinth/ assets /labrinth/assets
25
25
WORKDIR /labrinth
26
26
27
- CMD /labrinth/labrinth
27
+ CMD /labrinth/labrinth
You can’t perform that action at this time.
0 commit comments