DarkflameServer/docker/AccountManager.Dockerfile

15 lines
348 B
Docker
Raw Normal View History

2021-12-07 20:30:08 +00:00
# syntax=docker/dockerfile:1
2022-01-05 16:32:30 +00:00
FROM python:3.10-alpine3.14
2021-12-07 20:30:08 +00:00
2022-01-05 16:32:30 +00:00
WORKDIR /usr/local/share/AccountManager
COPY ./thirdparty/AccountManager .
2021-12-07 20:30:08 +00:00
ADD docker/credentials_example.py credentials.py
ADD docker/resources_example.py resources.py
2022-01-05 16:32:30 +00:00
RUN apk add curl libffi-dev build-base --no-cache && pip3 install -r requirements.txt
2021-12-07 20:30:08 +00:00
EXPOSE 5000
CMD python3 app.py