FROM python:3.9 | |
RUN apt update && apt install nodejs -y | |
RUN pip install pynecone-io | |
RUN mkdir my_app_name | |
RUN chmod 777 my_app_name | |
WORKDIR my_app_name | |
RUN touch pynecone.db | |
RUN pc init | |
CMD ["pc", "run"] |
FROM python:3.9 | |
RUN apt update && apt install nodejs -y | |
RUN pip install pynecone-io | |
RUN mkdir my_app_name | |
RUN chmod 777 my_app_name | |
WORKDIR my_app_name | |
RUN touch pynecone.db | |
RUN pc init | |
CMD ["pc", "run"] |