Overview
Comment: | [server] dockerfile |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | server |
Files: | files | file ages | folders |
SHA3-256: |
05ca73e5dad0b15d682b0cfa8957a315 |
User & Date: | olr on 2020-10-08 13:28:07 |
Other Links: | manifest | tags |
Context
2020-10-09
| ||
08:34 | [fr] faux positifs check-in: 1aee0eaf26 user: olr tags: trunk, fr | |
2020-10-08
| ||
13:28 | [server] dockerfile check-in: 05ca73e5da user: olr tags: trunk, server | |
13:20 | [fr] ajustements check-in: 7212c8d81a user: olr tags: trunk, fr | |
Changes
Added dockerfile.txt version [f391f2d6f4].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | FROM python:3-alpine AS src ENV VERSION 1.12.2 RUN apk add --update --no-cache \ unzip \ wget \ && wget https://grammalecte.net/grammalecte/zip/Grammalecte-fr-v${VERSION}.zip \ && unzip Grammalecte-fr-v${VERSION}.zip -d /srv FROM python:3-alpine COPY --from=src /srv/ /srv ENV PYTHONUNBUFFERED TRUE EXPOSE 8080 WORKDIR /srv ENTRYPOINT ["python3"] CMD ["grammalecte-server.py","-ht", "0.0.0.0","-p","8080","-t"] # Create the container with # `docker build -t grammalecte:latest .` # Lauch the container with: # `docker run --rm -p 8080:8080 --name gr grammalecte:latest` |