Spaces:
Running
Running
Merge branch 'tests' of https://github.com/luanpoppe/vella-backend into tests
Browse files- Dockerfile +3 -3
- requirements.txt +0 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
FROM python:3.12
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
USER user
|
| 5 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
@@ -8,9 +11,6 @@ COPY --chown=user . ./app
|
|
| 8 |
|
| 9 |
WORKDIR /app
|
| 10 |
|
| 11 |
-
# Instalação necessária para converter arquivos .doc
|
| 12 |
-
RUN apt-get update && apt-get install -y antiword
|
| 13 |
-
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
# RUN python3 -m venv /app/.venv
|
|
|
|
| 1 |
FROM python:3.12
|
| 2 |
|
| 3 |
+
# Instalação necessária para converter arquivos .doc
|
| 4 |
+
RUN apt-get update && apt-get install -y antiword
|
| 5 |
+
|
| 6 |
RUN useradd -m -u 1000 user
|
| 7 |
USER user
|
| 8 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
|
| 11 |
|
| 12 |
WORKDIR /app
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
# RUN python3 -m venv /app/.venv
|
requirements.txt
CHANGED
|
Binary files a/requirements.txt and b/requirements.txt differ
|
|
|