Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile #15

Open
crstian19 opened this issue Feb 23, 2020 · 1 comment
Open

Add Dockerfile #15

crstian19 opened this issue Feb 23, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@crstian19
Copy link

I wrote one already, it works for me, maybe it will help others 😙

FROM python:3.8-alpine

WORKDIR /uploads
VOLUME /uploads

RUN apk add gcc musl-dev libffi-dev openssl-dev

RUN pip install updog

EXPOSE 9090

CMD ["updog"]

I think it should be better if instead of pip installing it installed the requirements.txt, but I wrote it this way and it works 😅

@dostoevskylabs dostoevskylabs added the enhancement New feature or request label Dec 4, 2020
@felmoltor
Copy link

Addressed here:

https://github.com/felmoltor/updog3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants