diff --git a/.dockerignore b/.dockerignore index 6fc86f9c..4d67072e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,11 @@ worker/transcribee_worker/.data +backend/db +backend/storage backend/__pypackages__ worker/__pypackages__ +backend/.venv +worker/.venv frontend/node_modules/ +frontend/testData +.git packaging/Dockerfile diff --git a/packaging/Dockerfile b/packaging/Dockerfile index bfe19b72..b90f1605 100644 --- a/packaging/Dockerfile +++ b/packaging/Dockerfile @@ -4,20 +4,18 @@ RUN nix-channel --update RUN mkdir -p /app -COPY shell.nix /app +COPY flake.nix /app WORKDIR /app -RUN nix-build shell.nix - COPY . /app/ -RUN nix-shell shell.nix --command ./packaging/install_dependencies.sh +RUN nix --extra-experimental-features 'nix-command flakes' develop --command ./packaging/install_dependencies.sh EXPOSE 5173 ENV MEDIA_URL_BASE=http://localhost:5173/ -ENTRYPOINT [ "nix-shell", "shell.nix", "--command" ] +ENTRYPOINT [ "nix", "--extra-experimental-features", "'nix-command flakes'", "develop" ] CMD [ "overmind start -f packaging/Procfile" ]