Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KYLN24 authored Jul 2, 2024
1 parent 55d35da commit 1008fd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM python:latest as builder

COPY * .
WORKDIR /builder
COPY . /builder
RUN apt-get update && apt-get install -y python3-pip \
&& bash build_static.sh

FROM nginx:alpine

COPY --from=builder ./public /usr/share/nginx/html/
COPY --from=builder /builder/public /usr/share/nginx/html/

EXPOSE 80

0 comments on commit 1008fd7

Please sign in to comment.