Skip to content

Commit

Permalink
Fixed apt command in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
clyde-johnston committed Aug 10, 2023
1 parent b1f5b79 commit 9c2c799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions nunaserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ FROM python:3.9.1-slim
EXPOSE 8080
COPY / /nunaserver/
WORKDIR /nunaserver
RUN apt update
RUN apt install -y curl
RUN apt-get update && apt-get install -y curl
RUN pip3 install -r requirements.txt
3 changes: 1 addition & 2 deletions nunaweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ EXPOSE 8080
COPY . /nunaweb
WORKDIR /nunaweb
ENV API_URL="https://nunaweb.opencyphal.org/api/"
RUN apt update
RUN apt install -y curl
RUN apt-get update && apt-get install -y curl
RUN npm install
RUN npm run build
RUN npm run generate

0 comments on commit 9c2c799

Please sign in to comment.