File: Dockerfile.dev

package info (click to toggle)
python-aiomodernforms 0.1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 252 kB
  • sloc: python: 965; makefile: 95
file content (21 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.8

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN \
    apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com \
    && apt-get update --allow-insecure-repositories \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        git \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /workspaces

# Install Python dependencies from requirements
COPY requirements.txt requirements_test.txt requirements_dev.txt ./
RUN pip3 install -r requirements_test.txt -r requirements_dev.txt -r requirements.txt

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash