-echo y | plink -ssh administrator@staging.karname.ir "exit"
-echo y | plink -ssh administrator@staging.karname.ir "exit"
-docker save -o ./scripts/karname-app.tar karname/app:$env:TAG_VERSION# save docker in scripts folder
-docker save -o ./scripts/karname-app.tar karname/app:$env:TAG_VERSION# save docker in scripts folder
-echo y | pscp.exe -batch -l administrator -pw $env:StagingPass ./scripts/karname-app.tar staging.karname.ir:c:/Users/administrator/karname-app.tar# save docker in remote server
-echo y | pscp.exe -batch -l administrator -pw $env:StagingPass ./scripts/karname-app.tar staging.karname.ir:c:/Users/administrator/karname-app.tar# save docker in remote server
-echo y | pscp.exe -batch -l administrator -pw $env:StagingPass ./docker-compose-staging.yml staging.karname.ir:c:/Users/administrator/docker-compose.yml# save docker-compose.yml in remote server
-echo y | pscp.exe -batch -l administrator -pw $env:StagingPass ./docker-compose-staging.yml staging.karname.ir:c:/Users/administrator/docker-compose.yml# save docker-compose.yml in remote server
# Rather than Node 8 latest (Alpine), you can also use the specific version of Node expected by your Meteor release, per https://docs.meteor.com/changelog.html
FROM node:12-alpine
ENV APP_BUNDLE_FOLDER /opt/bundle
ENV SCRIPTS_FOLDER /docker
# Install OS build dependencies, which we remove later after we’ve compiled native Node extensions
RUN apk --no-cache--virtual .node-gyp-compilation-dependencies add \