Skip to content

Commit

Permalink
added .env file to docker function
Browse files Browse the repository at this point in the history
  • Loading branch information
damiensedgwick committed Mar 5, 2024
1 parent fa16ca7 commit b133ab4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion napp.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (
ErrInvalidName = errors.New("invalid project name")
)

const version = "v0.2.0"
const version = "v0.2.1"

func main() {
args := os.Args[1:]
Expand Down Expand Up @@ -521,6 +521,9 @@ COPY static /app/static
# Copy all template files into the container
COPY templates /app/templates
# Copy .env file into the container
COPY .env /app/.env
# Expose port 8080 to run the application
EXPOSE 8080
Expand Down

0 comments on commit b133ab4

Please sign in to comment.