Skip to content

Commit 0901ff6

Browse files
committed
Remove React app build steps from Dockerfile
1 parent a3ae9de commit 0901ff6

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

Dockerfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
# Étape 1: Build the React app
2-
FROM node:20-alpine AS build
3-
4-
WORKDIR /app/frontend
5-
6-
COPY frontend/package*.json ./
7-
RUN npm install
8-
9-
COPY frontend/ ./
10-
RUN npm run build
11-
12-
# Étape 2 : Build the Python server
1+
# Étape 1 : Build the Python server
132
FROM python:3.10-alpine
143

154
WORKDIR /app

0 commit comments

Comments
 (0)