Files
Sourabh Desai 950f88a7be Adding a Dockerfile for devcontainer (#43)
* add Dockerfile for devcontainer

* add nodejs installation

* more deps needed for node.js installation

* fix

* fix

* fix

* fix

* fix

* update README + add Codespace origin if running in codespaces

* use docker compose yaml

* rename file

* fix allow_origins set to include codespace origin

* use features + remove workspace compose yaml

* apt-get update

* remove npm & poetry install

* add nodejs feature

* address variety of more issues with running on codespaces + issues with make migate

* add one more step to backend readme

* remove loose console log
2023-09-28 14:20:34 -07:00

14 lines
328 B
Docker

# https://hub.docker.com/_/python
FROM python:3.11.3-slim-bullseye
ENV PYTHONUNBUFFERED True
# Install other backend deps
RUN apt-get update
RUN apt-get install libpq-dev gcc build-essential wkhtmltopdf s3fs -y
RUN pip install poetry==1.6.1
# Install frontend node modules
ENV APP_HOME /app
COPY . $APP_HOME
CMD ["/bin/bash"]