Skip to content

Commit 230d34c

Browse files
bugfixing
1 parent cddb44d commit 230d34c

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

dockflare/Dockerfile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
FROM node:20-alpine as frontend-builder
1919
LABEL stage=frontend-builder
2020
WORKDIR /usr/src/app
21-
COPY package.json ./
22-
COPY package-lock.json* ./
21+
COPY ./dockflare/package.json ./
22+
COPY ./dockflare/package-lock.json* ./
2323
RUN npm install
24-
COPY tailwind.config.js ./
25-
COPY postcss.config.js ./
26-
COPY ./app/templates/input.css ./templates/input.css
27-
COPY ./app/templates ./templates
24+
COPY ./dockflare/tailwind.config.js ./
25+
COPY ./dockflare/postcss.config.js ./
26+
COPY ./dockflare/app/templates/input.css ./templates/input.css
27+
COPY ./dockflare/app/templates ./templates
2828
RUN npm run build:css
2929
FROM python:3.13-slim as runtime
3030
ENV PYTHONDONTWRITEBYTECODE=1
@@ -48,13 +48,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
4848
rm cloudflared-$CLOUDFLARED_ARCH.deb && \
4949
cloudflared --version && \
5050
mkdir -p /root/.cloudflared
51-
COPY requirements.txt .
51+
COPY ./dockflare/requirements.txt .
5252
RUN pip install --no-cache-dir -r requirements.txt
5353
RUN mkdir -p /app/static/css
5454
RUN mkdir -p /app/static/images
5555
COPY --from=frontend-builder /usr/src/app/static/css/output.css /app/static/css/output.css
56-
COPY app/main.py .
57-
COPY app/templates /app/templates/
58-
COPY images /app/static/images/
56+
COPY ./dockflare/app /app
57+
COPY ./dockflare/images /app/static/images/
5958
EXPOSE 5000
6059
CMD ["python", "main.py"]

0 commit comments

Comments
 (0)