Skip to content

Commit

Permalink
cleaned up dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Max McKelvey authored and Max McKelvey committed Aug 4, 2023
1 parent 8c62e63 commit 84b600c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
10 changes: 0 additions & 10 deletions backend-armv7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,8 @@ FROM python:3.9-slim-buster

WORKDIR /app

# COPY ./requirements.txt /app/requirements.txt
COPY ./pi_requirements.txt /app/requirements.txt

# RUN pip3 install opencv-python-headless==4.4.0.44
# RUN pip3 install --no-cache-dir --upgrade -r /app/requirements.txt
# RUN pip3 install opencv-python-headless=4.4.0.44

# RUN pip install --index-url=https://www.piwheels.org/simple --no-cache-dir opencv-python-headless
# RUN pip install --index-url=https://www.piwheels.org/simple --no-cache-dir fastapi==0.95.2
# RUN pip install --index-url=https://www.piwheels.org/simple --no-cache-dir uvicorn
# RUN pip install --index-url=https://www.piwheels.org/simple --no-cache-dir pyyaml
# RUN pip install --index-url=https://www.piwheels.org/simple --no-cache-dir pillow
RUN pip install --index-url=https://www.piwheels.org/simple --no-cache-dir -r /app/requirements.txt
RUN pip install --no-deps groundlight
RUN pip install --no-deps framegrab
Expand Down
2 changes: 0 additions & 2 deletions backend.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM python:3.9-slim-bookworm
# FROM python:3.9-alpine

WORKDIR /app

COPY ./requirements.txt /app/requirements.txt
# COPY ./pi_requirements.txt /app/pi_requirements.txt

RUN pip3 install --no-cache-dir --upgrade -r /app/requirements.txt
RUN pip3 install opencv-python-headless
Expand Down
1 change: 0 additions & 1 deletion frontend-armv7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ FROM node:18-buster-slim AS base
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
# RUN apk add --no-cache libc6-compat
# RUN apt install -y libc6-dev
WORKDIR /app

# Install Extra dependencies
Expand Down
1 change: 0 additions & 1 deletion frontend.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#syntax=docker/dockerfile:1.4
# FROM node:18-alpine AS base
FROM node:18-buster-slim AS base

# Install dependencies only when needed
Expand Down

0 comments on commit 84b600c

Please sign in to comment.