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

Fix docker really #308

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ worker/transcribee_worker/.data
backend/__pypackages__
worker/__pypackages__
frontend/node_modules/
packaging/Dockerfile
1 change: 1 addition & 0 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export default defineConfig({
proxy: {
'/api': 'http://127.0.0.1:8000',
'/api/v1/documents/sync': { target: 'http://127.0.0.1:8000', ws: true },
'/media': 'http://127.0.0.1:8000',
},
},
plugins: [
Expand Down
3 changes: 2 additions & 1 deletion packaging/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ RUN nix-shell packaging/shell.nix --command ./packaging/install_dependencies.sh
RUN nix-shell packaging/shell.nix --command ./packaging/setup_backend.sh

EXPOSE 5173
EXPOSE 8000

ENV MEDIA_URL_BASE=http://localhost:5173/

ENTRYPOINT [ "nix-shell", "packaging/shell.nix", "--command" ]

Expand Down