mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-06-30 11:16:17 +00:00
Deepsource Docker issues
This commit is contained in:
parent
f180e76be9
commit
bd379e2c02
1 changed files with 5 additions and 4 deletions
|
@ -1,14 +1,15 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM alpine:latest
|
FROM alpine:3.18.2
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
RUN apk update && apk add python3 py3-pip postgresql-client
|
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
|
RUN mkdir /storage&& \
|
||||||
|
apk update && \
|
||||||
|
apk add python3 py3-pip postgresql-client
|
||||||
|
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
RUN mkdir /storage
|
|
||||||
COPY ./server ./server
|
COPY ./server ./server
|
||||||
COPY ./run.sh ./run.sh
|
COPY ./run.sh ./run.sh
|
||||||
RUN chmod +x ./run.sh
|
RUN chmod +x ./run.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue