Skip to content

Commit 66ac816

Browse files
Update WebApp.Dockerfile
1 parent 8d2c5ee commit 66ac816

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

App/WebApp.Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt \
3333
# Copy backend source code
3434
COPY . /usr/src/app/
3535

36-
# Copy frontend build to correct location
37-
COPY --from=frontend /home/node/app/frontend/build /usr/src/app/frontend/build/
36+
# Copy frontend static to correct location
37+
COPY --from=frontend /home/node/app/frontend/build/index.html /usr/src/app/static/
38+
COPY --from=frontend /home/node/app/frontend/build/favicon.ico /usr/src/app/static/
39+
COPY --from=frontend /home/node/app/frontend/build/static /usr/src/app/static/
40+
3841

3942
# Set working directory and expose port
4043
WORKDIR /usr/src/app

0 commit comments

Comments
 (0)