Spaces:
Runtime error
Runtime error
BasToTheMax
commited on
Commit
•
b72a5aa
1
Parent(s):
478f0f4
Start in root
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -6,6 +6,7 @@ RUN apt update -y
|
|
6 |
RUN adduser --home /home/container container
|
7 |
|
8 |
COPY . /home/container
|
|
|
9 |
RUN chown -R container:container /home/container
|
10 |
|
11 |
USER container
|
@@ -16,4 +17,4 @@ RUN npm install @google-cloud/functions-framework
|
|
16 |
|
17 |
RUN ls -lah
|
18 |
|
19 |
-
CMD ["bash", "/
|
|
|
6 |
RUN adduser --home /home/container container
|
7 |
|
8 |
COPY . /home/container
|
9 |
+
COPY ./start.sh /
|
10 |
RUN chown -R container:container /home/container
|
11 |
|
12 |
USER container
|
|
|
17 |
|
18 |
RUN ls -lah
|
19 |
|
20 |
+
CMD ["bash", "/start.sh"]
|