-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: web build pluto unit test in CI
Signed-off-by: peefy <[email protected]>
- Loading branch information
Showing
4 changed files
with
8 additions
and
4 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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
FROM plutolang/pluto | ||
WORKDIR / | ||
COPY . . | ||
# Install Pluto and dev dependencies | ||
RUN npm install | ||
RUN cd web && npm run build | ||
# Build frontend web application | ||
RUN cd web && npm install && npm run build | ||
# Install backend dependencies | ||
RUN python3 -m pip install -U -r ./requirements.txt | ||
# Run | ||
CMD ["pluto", "run"] | ||
EXPOSE 9443 |
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 was deleted.
Oops, something went wrong.