Initial code
This commit is contained in:
parent
f628266c2a
commit
3519df4299
5 changed files with 114 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Then build the actual amelie docker image
|
||||
FROM python:latest
|
||||
|
||||
# Set /usr/src/app as startup working directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install python requirements
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir --upgrade pip
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy sources
|
||||
COPY . .
|
||||
|
||||
# Expose the web port
|
||||
EXPOSE 8000
|
||||
|
||||
# Start the website
|
||||
CMD ["/usr/src/app/start.sh"]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue