-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from quackscience/quackui
Feature: Quack-UI Alpha
- Loading branch information
Showing
3 changed files
with
12 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
FROM node:20-alpine AS build | ||
WORKDIR /app | ||
RUN apk add git | ||
RUN git clone -b selfservice https://github.com/quackscience/quack-ui /app | ||
RUN npm install -g pnpm | ||
RUN npx update-browserslist-db@latest | ||
RUN npm install && npm run build | ||
|
||
FROM python:3.8.10-slim | ||
WORKDIR /app | ||
ADD requirements.txt . | ||
RUN apt update && apt install -y binutils wget \ | ||
RUN apt update && apt install -y binutils wget git \ | ||
&& pip install -r requirements.txt \ | ||
&& rm -rf /var/lib/apt/lists/* && rm -rf ~/.cache/pip/* | ||
ADD main.py . | ||
ADD public ./public | ||
COPY --from=build /app/dist ./public | ||
EXPOSE 8123 | ||
ARG VITE_SELFSERVICE=true | ||
CMD ["python3","./main.py"] |
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
File renamed without changes.