Skip to content

Commit

Permalink
Update dockerfile to working version
Browse files Browse the repository at this point in the history
  • Loading branch information
JMGaljaard committed May 20, 2021
1 parent 7469f89 commit cad4888
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@ RUN apt-get update \
&& apt-get install -y vim curl python3 python3-pip net-tools iproute2

# Copy the current folder to the working directory
COPY setup.py ./
ADD setup.py requirements.txt ./
RUN python3 -m pip install -r requirements.txt

ADD configs configs

# Install all required packages for the generator
RUN pip3 setup.py install

#RUN mkdir -p ./data/MNIST
#COPY ./data/MNIST ../data/MNIST
ADD fltk ./fedsim
#RUN ls -la
COPY federated_learning.py ./
COPY custom_mnist.py ./
#RUN ls -la ./fedsim
ADD fltk fltk
# Install newest version of library
RUN python3 -m setup install



# Expose the container's port to the host OS
EXPOSE 5000
Expand Down

0 comments on commit cad4888

Please sign in to comment.