You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# try to pull slim images to avoid big image sizes
FROM python:3.8.4-slim
# port to expose the container on
EXPOSE 8508
# The WORKDIR instruction sets the working directory (FOR WITHIN THE IMAGE) for any RUN, CMD, ENTRYPOINT, COPY and ADD instructions that follow it in the Dockerfile . Let’s set it to app/ :
WORKDIR /app
# this is only if we want to clone via git
RUN apt-get update && apt-get install -y \
build-essential \
software-properties-common \
git \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/kbstn/DiceRollDashboard.git .
COPY . .
# install the python libs listet in txt file taht we copied into /app folder