File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM rust:1.75 -bookworm AS worker-builder
1
+ FROM rust:1.78 -bookworm AS worker-builder
2
2
WORKDIR /app
3
3
COPY . /app
4
4
RUN cargo build --bin trackscape-discord-cron-job-worker --release
5
5
#
6
- FROM rust:1.75 -slim-bookworm AS worker
6
+ FROM rust:1.78 -slim-bookworm AS worker
7
7
COPY --from=worker-builder /app/target/release/trackscape-discord-cron-job-worker /usr/local/bin/trackscape-discord-cron-job-worker
8
8
CMD ["trackscape-discord-cron-job-worker" ]
Original file line number Diff line number Diff line change 1
- FROM rust:1.75 -bookworm AS worker-builder
1
+ FROM rust:1.78 -bookworm AS worker-builder
2
2
WORKDIR /app
3
3
COPY . /app
4
4
RUN cargo build --bin trackscape-discord-job-worker --release
5
5
#
6
- FROM rust:1.75 -slim-bookworm AS worker
6
+ FROM rust:1.78 -slim-bookworm AS worker
7
7
COPY --from=worker-builder /app/target/release/trackscape-discord-job-worker /usr/local/bin/trackscape-discord-job-worker
8
8
CMD ["trackscape-discord-job-worker" ]
Original file line number Diff line number Diff line change 1
- #Docker builds and push commands
1
+ # Docker builds and push commands
2
2
` docker build --platform linux/amd64 -t {image name} -f dockerfiles/{name of docker file} . `
3
+
3
4
` docker tag {image name}:latest fatfingers23/{repo name}:latest `
5
+
4
6
` docker push fatfingers23/{repo name}:latest `
5
7
6
8
# Repo Names with tags
7
9
- fatfingers23/trackscape: latest (Main shuttle application)
8
10
- fatfingers23/trackscape-worker: latest (Job worker )
9
11
- fatfingers23/trackscape-cron-worker: latest (Binary to fire off jobs on cron schedule)
10
-
You can’t perform that action at this time.
0 commit comments