Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ujstor committed Dec 16, 2024
1 parent bfa71e2 commit 9ee0e18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion cmd/program/program.go
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,6 @@ func (p *Project) CreateMainFile() error {
if err != nil {
return err
}

}
}

Expand Down
7 changes: 3 additions & 4 deletions docs/docs/advanced-flag/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ RUN npm install
COPY frontend/. .
RUN npm run build

FROM node:20-slim AS frontend
RUN npm install -g serve
COPY --from=frontend_builder /frontend/dist /app/dist
FROM nginx:alpine AS frontend
COPY --from=frontend_builder /frontend/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["serve", "-s", "/app/dist", "-l", "80"]
```
## Docker compose
Docker and docker-compose.yml pull environment variables from the .env file.
Expand Down

0 comments on commit 9ee0e18

Please sign in to comment.