docker container changes
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -4,12 +4,4 @@ COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
CMD npm start
|
||||
EXPOSE 8055
|
||||
|
||||
#
|
||||
FROM mysql
|
||||
|
||||
ENV MYSQL_DATABASE iot
|
||||
ENV MYSQL_ROOT_PASSWORD mitko2021
|
||||
|
||||
COPY schema.sql /docker-entrypoint-initdb.d/
|
||||
EXPOSE 2080
|
||||
|
||||
Reference in New Issue
Block a user