Merge pull request #732 from f-lombardo/changes-for-docker

Changes for docker
This commit is contained in:
Piero Toffanin 2025-01-25 14:45:02 -05:00 committed by GitHub
commit 7f92c2d8ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View file

@ -1,11 +1,9 @@
version: "3"
services: services:
libretranslate: libretranslate:
container_name: libretranslate container_name: libretranslate
build: build:
context: . context: .
dockerfile: docker/Dockerfile dockerfile: ./docker/Dockerfile
restart: unless-stopped restart: unless-stopped
ports: ports:
- "5000:5000" - "5000:5000"

View file

@ -1,4 +1,4 @@
FROM python:3.11.9-slim-bullseye as builder FROM python:3.11.9-slim-bullseye AS builder
WORKDIR /app WORKDIR /app