|
@@ -1,9 +1,9 @@
|
|
|
FROM python:3.11.4-bullseye
|
|
|
|
|
|
-COPY . /usr/local/
|
|
|
+COPY . /usr/local/app/
|
|
|
RUN ["pip", "install", "waitress"]
|
|
|
-WORKDIR /usr/local/flask_be
|
|
|
-RUN ["pip", "install", "-r", "requirements"]
|
|
|
+WORKDIR /usr/local/
|
|
|
+RUN ["pip", "install", "-r", "requirements.txt"]
|
|
|
CMD ["waitress-serve", "--listen=127.0.0.42:5000", "app:app"]
|
|
|
|
|
|
EXPOSE 5000
|