Docker env #34
@@ -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/
|
||||
|
@@ -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"]
|
||||
|
Reference in New Issue
Block a user