Spaces:
Running
Running
luanpoppe
commited on
Commit
·
2bdce13
1
Parent(s):
11778c5
fix: dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -3,6 +3,10 @@ FROM python:3.12
|
|
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,10 +15,6 @@ COPY --chown=user . ./app
|
|
11 |
|
12 |
WORKDIR /app
|
13 |
|
14 |
-
# Copy the entrypoint script and make it executable
|
15 |
-
COPY entrypoint.sh /entrypoint.sh
|
16 |
-
RUN chmod +x /entrypoint.sh
|
17 |
-
|
18 |
RUN pip install --no-cache-dir -r requirements.txt
|
19 |
|
20 |
# RUN python3 -m venv /app/.venv
|
|
|
3 |
# Instalação necessária para converter arquivos .doc
|
4 |
RUN apt-get update && apt-get install -y antiword
|
5 |
|
6 |
+
# Copy the entrypoint script and make it executable
|
7 |
+
COPY entrypoint.sh /entrypoint.sh
|
8 |
+
RUN chmod +x /entrypoint.sh
|
9 |
+
|
10 |
RUN useradd -m -u 1000 user
|
11 |
USER user
|
12 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
15 |
|
16 |
WORKDIR /app
|
17 |
|
|
|
|
|
|
|
|
|
18 |
RUN pip install --no-cache-dir -r requirements.txt
|
19 |
|
20 |
# RUN python3 -m venv /app/.venv
|