Spaces:
Runtime error
Runtime error
FROM node:18-bullseye | |
RUN apt update -y | |
# RUN npm install -g @google-cloud/functions-framework | |
RUN adduser --home /home/container container | |
COPY . /home/container | |
COPY ./start.sh / | |
RUN chown -R container:container /home/container | |
USER container | |
ENV USER=container HOME=/home/container | |
WORKDIR /home/container | |
RUN npm install @google-cloud/functions-framework | |
RUN ls -lah | |
CMD ["bash", "/start.sh"] |