Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Dockerfile template #27

Merged
merged 12 commits into from
Mar 28, 2024
Merged

feat: Add Dockerfile template #27

merged 12 commits into from
Mar 28, 2024

Conversation

leehuwuj
Copy link
Collaborator

No description provided.

templates/types/simple/fastapi/README-template.md Outdated Show resolved Hide resolved
templates/components/loaders/python/web.py Show resolved Hide resolved
RUN npm run build

# ====================================
FROM build as release
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks to me like the release image doesn't have any files (no COPY command) - how does this work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's already copied in the build stage. We just use everything from the build stage to the release for now.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah i see, should be FROM node20 as release and then copy just the build files

templates/components/deployments/typescript/Dockerfile Outdated Show resolved Hide resolved
templates/types/streaming/nextjs/README-template.md Outdated Show resolved Hide resolved
templates/types/streaming/nextjs/README-template.md Outdated Show resolved Hide resolved
templates/types/streaming/nextjs/README-template.md Outdated Show resolved Hide resolved
templates/types/streaming/nextjs/README-template.md Outdated Show resolved Hide resolved
templates/types/streaming/fastapi/README-template.md Outdated Show resolved Hide resolved
helpers/python.ts Outdated Show resolved Hide resolved
@marcusschiesser marcusschiesser merged commit 78ded9e into main Mar 28, 2024
5 checks passed
@marcusschiesser marcusschiesser deleted the lee/add-dockers branch March 28, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants