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 dadd82c commit 60d799fCopy full SHA for 60d799f
crispy-api/Dockerfile
@@ -1,7 +1,13 @@
1
FROM python:3.10-slim
2
WORKDIR /app
3
+RUN apt-get -y update
4
+RUN apt-get install ffmpeg -y
5
+
6
COPY requirements.txt .
7
RUN pip install -r requirements.txt
8
COPY api api
-EXPOSE 8000
9
+COPY assets assets
10
+COPY dataset dataset
11
+COPY settings.json settings.json
12
+EXPOSE 7821
13
CMD ["python", "-m", "api"]
crispy-frontend/Dockerfile
@@ -1,7 +1,7 @@
FROM node:18.6 AS build
WORKDIR /crispy-frontend
-RUN npm install && npm run build
COPY . .
+RUN npm install && npm run build
FROM nginx:1.23
COPY --from=build /crispy-frontend/public /usr/share/nginx/html
EXPOSE 80
0 commit comments