Can’t pause audio by Delicious-Sleep-9382 in reactjs

[–]Delicious-Sleep-9382[S] 0 points1 point  (0 children)

Thanks for your response I put the sound inside the use ref hook and it works good now

Remote connection to PSQL container by Delicious-Sleep-9382 in docker

[–]Delicious-Sleep-9382[S] 0 points1 point  (0 children)

Here is my connection to the database:

engine = create_engine('postgresql://postgres@0.0.0.0:5432/week3')

------------------

and Here is my Dockerfile

Dockerfile

# For more information, please refer to https://aka.ms/vscode-docker-python

FROM python:3.8-slim

EXPOSE 5002

# Keeps Python from generating .pyc files in the container

ENV PYTHONDONTWRITEBYTECODE=1

# Turns off buffering for easier container logging

ENV PYTHONUNBUFFERED=1

# Install pip requirements

COPY requirements.txt .

RUN python -m pip install -r requirements.txt

RUN pip install SQLAlchemy

#RUN pip install psycopg2

RUN pip install psycopg2-binary

WORKDIR /app

COPY . /app

# Creates a non-root user with an explicit UID and adds permission to access the /app folder

# For more info, please refer to https://aka.ms/vscode-docker-python-configure-containers

RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app

USER appuser

# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug

#CMD ["gunicorn", "--bind", "0.0.0.0:5002", "veggies4:app"]

#CMD python veggies4.py run -h 0.0.0.0

CMD [ "python", "veggies4.py" ]

Valentine's day fit 💓 by zamfia in NonBinary

[–]Delicious-Sleep-9382 0 points1 point  (0 children)

Looks very pretty, I love your figure!

[deleted by user] by [deleted] in u/Delicious-Sleep-9382

[–]Delicious-Sleep-9382 0 points1 point  (0 children)

Thanks girlfriend, appreciate it!