mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2026-01-27 12:50:52 +03:00
Fix buildx warnings when creating the docker image
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM python:3.11-alpine3.19 as BASE
|
FROM python:3.11-alpine3.19 AS base
|
||||||
|
|
||||||
FROM base as compiler
|
FROM base AS compiler
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ COPY src .
|
|||||||
RUN python3 -m compileall -b -f . && \
|
RUN python3 -m compileall -b -f . && \
|
||||||
find . -name "*.py" -type f -delete
|
find . -name "*.py" -type f -delete
|
||||||
|
|
||||||
FROM base as DEP_INSTALLER
|
FROM base AS dep_installer
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user