Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to make the frontend live server run inside Docker? #1181

Discussion options

First Check

  • I added a very descriptive title here.
  • I used the GitHub search to find a similar question and didn't find it.
  • I searched in the documentation/README.
  • I already searched in Google "How to do X" and didn't find any information.
  • I already read and followed all the tutorial in the docs/README and didn't find an answer.

Commit to Help

  • I commit to help with one of those options 👆

Example Code

I try to rewrite the files like Dockerfile, .env to make this repo's frontend development env run inside the docker. However, it is still not working, I need more help. Thank you.

Description

I want to know how to make this repo's frontend development env run inside the docker, it can let me more productive to running the local development server with live reload.

Operating System

macOS

Operating System Details

use mac to run docker-compose

Python Version

python3.10

Additional Context

No response

You must be logged in to vote

Replies: 1 comment

Comment options

It's advised in docs that you run frontend development server locally (not in the container): https://github.com/fastapi/full-stack-fastapi-template/blob/master/development.md#local-development

Here are some instructions on how to setup environment: https://github.com/fastapi/full-stack-fastapi-template/blob/master/frontend/README.md#frontend-development

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested

AltStyle によって変換されたページ (->オリジナル) /