From 2d3c1c7ea2ed83543b4aa8d6ee1c8ff9b76f281a Mon Sep 17 00:00:00 2001 From: Fillipe Date: Mon, 9 Nov 2020 16:32:12 -0300 Subject: [PATCH] FIXING PROBLEM ON BUILD IN WINDOWS I was trying to run this project and I got a problem with a version of some lib. I found the solution on this link https://askubuntu.com/questions/1096930/sudo-apt-update-error-release-file-is-not-yet-valid --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24e7be4..ee1b870 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.7 MAINTAINER Juliano Lazzarotto "jl.br.nh@gmail.com" -RUN apt-get update \ +RUN apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update \ && apt-get install -y \ build-essential \ cmake \ @@ -70,4 +70,4 @@ RUN npm install --global yarn RUN yarn install --prod EXPOSE 8080 -CMD [ "node", "index.js" ] \ No newline at end of file +CMD [ "node", "index.js" ]