Skip to content

Commit

Permalink
changing Dockerfile to copy local repo rather than cloning from github
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDietzMorris committed Sep 12, 2024
1 parent 03cea96 commit 1be41b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Automat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ ARG UID=1000
ARG GID=1000
RUN groupadd -o -g $GID automat
RUN useradd -m -u $UID -g $GID -s /bin/bash automat
WORKDIR /home/plater
RUN git clone https://github.com/renci-automat/automat-server.git
WORKDIR /home/plater/automat-server/Automat

RUN pip install -r requirements.txt
COPY ./requirements.txt /home/plater/automat-server/Automat/requirements.txt
RUN pip3 install -r /home/plater/automat-server/Automat/requirements.txt

COPY . /home/plater/automat-server/Automat/.

EXPOSE 8081
RUN mkdir -p logs
Expand Down

0 comments on commit 1be41b1

Please sign in to comment.