remove unnecessary commands

these lines aren't needed anymore, and add extra layers to the final image.
This commit is contained in:
Adam Leskis 2020-11-11 19:58:20 +00:00
parent 8602d81ca4
commit 451612fd48
2 changed files with 0 additions and 2 deletions

View File

@ -28,7 +28,6 @@ and a `docker-compose.yml` file. (You can use either a `.yml` or `.yaml` extensi
```dockerfile
FROM python:3
ENV PYTHONUNBUFFERED=1
RUN mkdir /code
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt

View File

@ -15,7 +15,6 @@ Dockerfile consists of:
FROM ruby:2.5
RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
RUN mkdir /myapp
WORKDIR /myapp
COPY Gemfile /myapp/Gemfile
COPY Gemfile.lock /myapp/Gemfile.lock