This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.9-buster as build | |
WORKDIR /usr/src/app | |
RUN apt-get -qq update && \ | |
apt-get -qqy --no-install-recommends install binutils=2.31.1-16 | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir --upgrade pip==21.1.2 && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.9-alpine as build | |
WORKDIR /usr/src/app | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir --upgrade pip==21.1.2 && \ | |
pip install --no-cache-dir -r requirements.txt | |
COPY . . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.9-buster as build | |
WORKDIR /usr/src/app | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir --upgrade pip==21.1.2 && \ | |
pip install --no-cache-dir -r requirements.txt | |
COPY . . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:14.17-alpine as build | |
WORKDIR /usr/src/app | |
SHELL ["/bin/ash", "-eo", "pipefail", "-c"] | |
RUN apk update && apk add --no-cache curl=7.67.0-r4 && curl -sf https://gobinaries.com/tj/node-prune | sh | |
COPY package*.json ./ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:14.17-alpine as build | |
WORKDIR /usr/src/app | |
COPY package*.json ./ | |
RUN npm ci --production | |
COPY . . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:14.17-buster as build | |
WORKDIR /usr/src/app | |
COPY package*.json ./ | |
RUN npm ci --production | |
COPY . . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.16-alpine as build | |
RUN apk add ca-certificates=20191127-r5 --no-cache | |
WORKDIR /app | |
COPY go.mod . | |
COPY go.sum . | |
RUN go mod download |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.16-alpine as build | |
WORKDIR /app | |
COPY go.mod . | |
COPY go.sum . | |
RUN go mod download | |
COPY . . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
dockerignore-dev: | |
image: dockerignore-dev | |
build: | |
context: . | |
dockerfile: Dockerfile.dev | |
container_name: dockerignore-dev | |
volumes: | |
- ./main.go:/app/main.go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
dockerignore-test: | |
image: dockerignore-test | |
build: | |
context: . | |
dockerfile: Dockerfile.test | |
container_name: dockerignore-test | |
volumes: | |
- ./main_test.go:/app/main_test.go |
NewerOlder