Skip to content

Commit 2475e50

Browse files
committed
Remove precreation of /opt/code
1 parent e1ec132 commit 2475e50

File tree

11 files changed

+0
-23
lines changed

11 files changed

+0
-23
lines changed

ch10/microservices/frontend/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

ch10/microservices/thoughts_backend/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

ch10/microservices/users_backend/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

ch11/microservices/frontend/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

ch11/microservices/thoughts_backend/docker/app/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
35-
RUN mkdir -p /opt/code
36-
3734
# Install python
3835
RUN apk add --update python3 curl libffi postgresql-libs
3936
# Copy uWSGI configuration

ch11/microservices/users_backend/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

ch3/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

ch4/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

ch6/frontend/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

ch6/thoughts_backend/docker/app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ RUN pip3 install -r /opt/requirements.txt
3131
########
3232
FROM alpine:3.9 AS runtime-image
3333

34-
RUN mkdir -p /opt/code
35-
3634
# Install python
3735
RUN apk add --update python3 curl libffi postgresql-libs
3836
# Copy uWSGI configuration

0 commit comments

Comments
 (0)