2 Commits

Author SHA1 Message Date
danielvici123
0a022faf96 Update docker-compose.yml 2026-06-09 19:31:01 +00:00
danielvici123
9ced8d11c6 docker: Add OCI source label to Dockerfile
All checks were successful
Release Docker Image / Push Docker image to Registry (push) Successful in 1m40s
Build and Release / Build All Platforms (push) Successful in 1m57s
2026-06-09 21:23:12 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -24,6 +24,8 @@ RUN touch src/main.rs && cargo build --release
# Final stage # Final stage
FROM alpine:latest FROM alpine:latest
LABEL org.opencontainers.image.source="https://git.danielvici.com/danielvici123/dhl"
# Set environment variable to signal the app it's running in Docker # Set environment variable to signal the app it's running in Docker
ENV DOCKER_CONTAINER=true ENV DOCKER_CONTAINER=true

View File

@@ -1,7 +1,7 @@
services: services:
dhl: dhl:
build: . build: .
image: dhl:latest image: docker pull git.danielvici.com/danielvici123/dhl:latest
container_name: dhl container_name: dhl
ports: ports:
- "3000:3000" - "3000:3000"