up versions

This commit is contained in:
Ruidy 2022-01-15 11:21:06 -04:00
parent de3304cca0
commit 17aab8826b
3 changed files with 10 additions and 4 deletions

View file

@ -1,9 +1,10 @@
FROM golang:1.16-alpine AS build
FROM golang:1.17-alpine AS build
WORKDIR /app
COPY go.mod .
COPY go.sum .
COPY go.* .
RUN go mod download
COPY . .
RUN go build -o ./out/dist .

View file

@ -1,8 +1,11 @@
FROM node:lts-alpine
WORKDIR /app
COPY package.json .
COPY yarn.lock .
RUN yarn install
COPY . .
CMD node index.js

View file

@ -1,10 +1,12 @@
FROM python:3.9-slim
FROM python:3.10-slim
ENV PYTHONUNBUFFERED 1
WORKDIR /app
COPY Pipfile* .
RUN pip install pipenv
RUN pipenv install --system --deploy --ignore-pipfile
COPY . .
CMD uvicorn main:app --host 0.0.0.0 --port 80