Skip to content

Commit eb51194

Browse files
committed
chore: missing api stage from dockerfile
1 parent 4622811 commit eb51194

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ RUN poetry install --no-cache --no-root
5757
# Since the majority of the dependencies are already installed in the
5858
# `common` stage we let poetry to handle the rest.
5959

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+
6068
# Admin service
6169
FROM common AS admin
6270
COPY libs /src/libs

0 commit comments

Comments
 (0)