Docker env #34

Closed
phoenix wants to merge 6 commits from docker_env into devel
2 changed files with 7 additions and 4 deletions
Showing only changes of commit 6fed4ae51f - Show all commits

View File

@@ -8,7 +8,10 @@ pkg/
.gitea/
# Ignore environment files (configure via docker-compose instead)
.env*
.env
.env.sample
.env.docker
.env.docker.sample
# Ignore IDE/editor specific files
.idea/
@@ -18,4 +21,4 @@ pkg/
*.DS_Store
# Add any other files/directories you don't need in the image
# e.g., logs/, tmp/
# e.g., logs/, tmp/

View File

@@ -34,7 +34,7 @@ RUN --mount=type=ssh mkdir src && \
# Copy the actual source code
COPY src ./src
# If you have other directories like `templates` or `static`, copy them too
COPY .env ./.env
COPY .env.docker ./.env
COPY migrations ./migrations
# << --- SSH MOUNT ADDED HERE --- >>
@@ -68,4 +68,4 @@ EXPOSE 3000
# Set the command to run your application
# Ensure this matches the binary name copied above
CMD ["./icarus_auth"]
CMD ["./icarus_auth"]