Skip to content

Commit 60d799f

Browse files
committed
fix: Dockerfiles
1 parent dadd82c commit 60d799f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

crispy-api/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
FROM python:3.10-slim
22
WORKDIR /app
3+
RUN apt-get -y update
4+
RUN apt-get install ffmpeg -y
5+
36
COPY requirements.txt .
47
RUN pip install -r requirements.txt
58
COPY api api
6-
EXPOSE 8000
9+
COPY assets assets
10+
COPY dataset dataset
11+
COPY settings.json settings.json
12+
EXPOSE 7821
713
CMD ["python", "-m", "api"]

crispy-frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:18.6 AS build
22
WORKDIR /crispy-frontend
3-
RUN npm install && npm run build
43
COPY . .
4+
RUN npm install && npm run build
55
FROM nginx:1.23
66
COPY --from=build /crispy-frontend/public /usr/share/nginx/html
77
EXPOSE 80

0 commit comments

Comments
 (0)