-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,8 +25,8 @@ RUN python -m venv /opt/venv | |
# Make sure we use the virtualenv | ||
ENV PATH /opt/venv/bin:$PATH | ||
|
||
# RUN python3 -m pip install auto_schema==$AUTO_SCHEMA_VERSION | ||
RUN python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ auto_schema_test==$AUTO_SCHEMA_VERSION | ||
RUN python3 -m pip install auto_schema==$AUTO_SCHEMA_VERSION | ||
# RUN python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ auto_schema_test==$AUTO_SCHEMA_VERSION | ||
|
||
# final image needs to be python-based to have auto-schema work | ||
FROM python:3.11.0-slim AS final-image | ||
|
@@ -71,7 +71,7 @@ RUN npm install --save-dev [email protected] @swc-node/[email protected] | |
|
||
COPY --from=golang-image /go/bin/tsent /go/bin/tsent | ||
COPY --from=python-image /opt/venv /opt/venv | ||
RUN alias auto_schema=auto_schema_test | ||
# RUN alias auto_schema=auto_schema_test | ||
COPY --from=golang-image /go/pkg/mod/github.com/lolopinto/ent@$GOLANG_VERSION /go/pkg/mod/github.com/lolopinto/ent@$GOLANG_VERSION | ||
|
||
CMD ["node"] | ||
|