We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4622811 commit eb51194Copy full SHA for eb51194
Dockerfile
@@ -57,6 +57,14 @@ RUN poetry install --no-cache --no-root
57
# Since the majority of the dependencies are already installed in the
58
# `common` stage we let poetry to handle the rest.
59
60
+# API service
61
+FROM common AS api
62
+COPY libs /src/libs
63
+COPY services/api /src/services/api
64
+WORKDIR /src/services/api
65
+RUN poetry install --no-cache
66
+ENTRYPOINT ["poetry", "run", "python", "src/api/main.py"]
67
+
68
# Admin service
69
FROM common AS admin
70
COPY libs /src/libs
0 commit comments