mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-14 08:02:17 +00:00
Fix Dockerfile
This commit is contained in:
parent
d28a759f8e
commit
3cc51d4bbf
1 changed files with 4 additions and 5 deletions
|
@ -1,17 +1,16 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM alpine:3.18.2
|
FROM alpine:3.18.2
|
||||||
|
|
||||||
EXPOSE 8000
|
|
||||||
|
|
||||||
RUN mkdir /app && mkdir /app/data
|
RUN mkdir /app && mkdir /app/data
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./lynxie /app
|
COPY ./lynxie /app
|
||||||
|
COPY ./requirements.txt /app
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update
|
||||||
apk --no-cache add python3 py3-pip && \
|
RUN apk --no-cache add python3 py3-pip
|
||||||
pip install --no-cache-dir -r requirements.txt \
|
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
RUN python3 database.py
|
RUN python3 database.py
|
||||||
|
|
||||||
CMD ["python3", "main.py"]
|
CMD ["python3", "main.py"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue