I was watching a youtube video on how to create a simple ecommerce app using anvil and I am trying to find a way to dockerize it.
I cloned the code and created a Docker file but it doesn’t work. Does anyone know what dependences I can you for this code?
Dockerfile Sample:
# Use the official Python base image
FROM python:3.9
# Set the working directory
WORKDIR /Tutorial
# Copy the application code
COPY . /Tutorial
# Install dependencies
RUN pip install anvil-uplink
# Expose the necessary port
EXPOSE 2000
# Define the startup command
CMD ["python", "-m", "anvil.run_app_via_uplink", "urls.py"]
``
Clone link: Anvil | Login