Skip to content

Commit 52df9de

Browse files
committed
Upped workers
1 parent a8e32f6 commit 52df9de

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

dockerfiles/CronWorker.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM rust:1.75-bookworm AS worker-builder
1+
FROM rust:1.78-bookworm AS worker-builder
22
WORKDIR /app
33
COPY . /app
44
RUN cargo build --bin trackscape-discord-cron-job-worker --release
55
#
6-
FROM rust:1.75-slim-bookworm AS worker
6+
FROM rust:1.78-slim-bookworm AS worker
77
COPY --from=worker-builder /app/target/release/trackscape-discord-cron-job-worker /usr/local/bin/trackscape-discord-cron-job-worker
88
CMD ["trackscape-discord-cron-job-worker"]

dockerfiles/Worker.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM rust:1.75-bookworm AS worker-builder
1+
FROM rust:1.78-bookworm AS worker-builder
22
WORKDIR /app
33
COPY . /app
44
RUN cargo build --bin trackscape-discord-job-worker --release
55
#
6-
FROM rust:1.75-slim-bookworm AS worker
6+
FROM rust:1.78-slim-bookworm AS worker
77
COPY --from=worker-builder /app/target/release/trackscape-discord-job-worker /usr/local/bin/trackscape-discord-job-worker
88
CMD ["trackscape-discord-job-worker"]

production/DeployNotes.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
#Docker builds and push commands
1+
# Docker builds and push commands
22
`docker build --platform linux/amd64 -t {image name} -f dockerfiles/{name of docker file} .`
3+
34
`docker tag {image name}:latest fatfingers23/{repo name}:latest`
5+
46
`docker push fatfingers23/{repo name}:latest`
57

68
# Repo Names with tags
79
- fatfingers23/trackscape:latest (Main shuttle application)
810
- fatfingers23/trackscape-worker:latest (Job worker )
911
- fatfingers23/trackscape-cron-worker:latest (Binary to fire off jobs on cron schedule)
10-

0 commit comments

Comments
 (0)